Пример #1
0
            public DataTypesTestEntityApp()
            {
                var area       = AddArea("types");
                var mainModule = new EntityModule(area, "MainModule");

                mainModule.RegisterEntities(typeof(IDataTypesEntity));
                switch (Startup.ServerType)
                {
                case DbServerType.MsSql:
                    mainModule.RegisterEntities(typeof(IMsSqlDataTypesEntity), typeof(IMsSqlRowVersionedProduct));
                    break;
                }
            }
Пример #2
0
        public IdentityTestsEntityApp()
        {
            var area       = AddArea("ident");
            var mainModule = new EntityModule(area, "MainModule");

            mainModule.RegisterEntities(typeof(ICar), typeof(IPerson));
        }
Пример #3
0
            public MiscLinqEntityApp()
            {
                var area       = AddArea(Schema);
                var mainModule = new EntityModule(area, "MainModule");

                mainModule.RegisterEntities(typeof(IArithmData));
            }
Пример #4
0
        public UpdateSortEntityApp()
        {
            var area       = AddArea(Schema);
            var mainModule = new EntityModule(area, "MainModule");

            mainModule.RegisterEntities(typeof(IEmployee), typeof(IDepartment));
        }
Пример #5
0
        public OneToOneEntityApp()
        {
            var area       = AddArea("one");
            var mainModule = new EntityModule(area, "MainModule");

            mainModule.RegisterEntities(typeof(IDocHeader), typeof(IDocDetails), typeof(IDocDetails2), typeof(IDocComments));
        }
Пример #6
0
        public MiscTestsEntityApp()
        {
            var area       = AddArea("misc");
            var mainModule = new EntityModule(area, "MainModule");

            mainModule.RegisterEntities(typeof(IVehicle), typeof(IDriver));
        }
Пример #7
0
        public IdentityRefTestEntityApp()
        {
            var area       = AddArea("ident2");
            var mainModule = new EntityModule(area, "MainModule");

            mainModule.RegisterEntities(typeof(IUser), typeof(IUserPost));
        }
Пример #8
0
            public DataTypesTestEntityApp()
            {
                var area       = AddArea("types");
                var mainModule = new EntityModule(area, "MainModule");

                mainModule.RegisterEntities(typeof(IDataTypesEntity));
                //Make sure setup is run and ServerType is set
                if (Startup.Driver == null)
                {
                    Startup.SetupForTestExplorerMode();
                }
                switch (Startup.ServerType)
                {
                case DbServerType.MsSql:
                    mainModule.RegisterEntities(typeof(IMsSqlDataTypesEntity), typeof(IMsSqlRowVersionedProduct));
                    break;
                }
            }
Пример #9
0
            public DataTypesTestEntityApp()
            {
                var area = AddArea("types");
                  var mainModule = new EntityModule(area, "MainModule");
                  mainModule.RegisterEntities(typeof(IDataTypesEntity));
                  switch(SetupHelper.ServerType) {
                case DbServerType.MsSql:
                  mainModule.RegisterEntities(typeof(IMsSqlDataTypesEntity), typeof(IMsSqlRowVersionedProduct));
                  break;

                  }
            }
Пример #10
0
 public UpdateSortEntityApp()
 {
     var area = AddArea("updsort");
       var mainModule = new EntityModule(area, "MainModule");
       mainModule.RegisterEntities(typeof(IEmployee), typeof(IDepartment));
 }
Пример #11
0
 public IdentityTestsEntityApp()
 {
     var area = AddArea("ident");
       var mainModule = new EntityModule(area, "MainModule");
       mainModule.RegisterEntities(typeof(ICar), typeof(IPerson));
 }
Пример #12
0
 public OneToOneEntityApp()
 {
     var area = AddArea("one");
       var mainModule = new EntityModule(area, "MainModule");
       mainModule.RegisterEntities(typeof(IDocHeader), typeof(IDocDetails), typeof(IDocDetails2), typeof(IDocComments));
 }
Пример #13
0
 public MiscTestsEntityApp()
 {
     var area = AddArea("misc");
       var mainModule = new EntityModule(area, "MainModule");
       mainModule.RegisterEntities(typeof(IVehicle), typeof(IDriver));
 }