예제 #1
0
 public override void Init()
 {
     base.Init();
     if (dict == null)
     {
         dict = new ReflectionDictionary();
     }
     copy = new UnitOfWork(new TestDataLayer(dict, DataStoreHelper.CreateInMemoryDataStore()));
 }
예제 #2
0
 public virtual void Init() {
     VideoRent.Helpers.VideoRentDateTime.RealTime = false;
     if(dict == null) {
         dict = new ReflectionDictionary();
     }
     XpoDefault.DataLayer = new TestDataLayer(dict, DataStoreHelper.CreateInMemoryDataStore());
     XpoDefault.Session = null;
     this.session = new UnitOfWork();
     CreateData(Session);
 }