Пример #1
0
 public void Setup()
 {
     this.mapleDataTest = new MapleDataTest();
     this.dapperDataTest = new DapperDataTest();
     this.efDataTest = new EFDataTest();
     this.idWorker = new IdWorker(0);
     this.mapleRepositoryDataTest = new MapleRepositoryDataTest();
 }
Пример #2
0
        public void Setup()
        {
            this.mapleDataTest  = new MapleDataTest();
            this.dapperDataTest = new DapperDataTest();
            this.efDataTest     = new EFDataTest();
            this.idWorker       = new IdWorker(0);

            this.mapleRepositoryDataTest = new MapleRepositoryDataTest();
            this.x = creatNewUser(idWorker.NextId());
            mapleDataTest.Insert(this.x);

            mapleDataTest.Single(this.x.Id);
            dapperDataTest.Single(this.x.Id);
            efDataTest.Single(this.x.Id);
            this.mapleRepositoryDataTest.Single(this.x.Id);
        }