码迷,mamicode.com
首页 > 其他好文 > 详细

Rafy环境配置

时间:2017-08-16 17:23:10      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:技术分享   继承   class   context   color   rtu   .com   width   images   

                 如果现在项目已经创建好啦,要使用Rafy框架进行存储,这里我简单的总结下配置的环境步骤:

                  一、添加引用Rafy的SDK,如下几个;

                 技术分享

                 二、新建文件夹Entities

                    在此文件夹下创建rafy实体以及仓库,

                    首先要建一个基类“Rafy”Entity,继承基类LongEntity,然后创建实体继承此实体。

                    添加“Rafy”DomainApp,继承DomainApp。

                    添加单元测试时配置:

        [AssemblyInitialize]
        public static void InitEvt(TestContext context)
        {
            var app = new FpdkDomainApp();
            app.Startup();
        }

                 

Rafy环境配置

标签:技术分享   继承   class   context   color   rtu   .com   width   images   

原文地址:http://www.cnblogs.com/dyxd/p/7373435.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!