コード例 #1
0
        public void OnModelCreatingTest()
        {
            var o       = new DbContextOptions <EventProjectDbContext>();
            var context = new testClass(o);
            var mb      = context.RunOnModelCreating();

            testHasEventProfileEntities(mb);
        }
コード例 #2
0
        public void OnModelCreatingTest()
        {
            var o       = new DbContextOptions <SentryDbContext>();
            var context = new testClass(o);
            var mb      = context.RunOnModelCreating();

            testHasCustomersEntities(mb);
            testHasGoodsEntities(mb);
        }
コード例 #3
0
        public void OnModelCreatingTest()
        {
            var o       = new DbContextOptions <SentryDbContext>();
            var context = new testClass(o);
            var mb      = context.RunOnModelCreating();

            testHasAddressEntities(mb);
            testHasCountryCurrencyEntities(mb);
            testOtherTelecomRegistrationEntities(mb);
        }
コード例 #4
0
        [TestMethod] public void OnModelCreatingTest()
        {
            var o       = new DbContextOptions <ApplicationDbContext>();
            var context = new testClass(o);
            var mb      = context.RunOnModelCreating();

            /*testHasAdressEntities(mb);
             * testHasNationalCurrencyEntities(mb);
             * testOtherTelecomRegistrationEntities(mb);*/
        }