예제 #1
0
        public void TestEntries()
        {
            ModelEntriesGenericBool     modelEntriesGenericBool     = new ModelEntriesGenericBool();
            ModelEntriesGenericChar     modelEntriesGenericChar     = new ModelEntriesGenericChar();
            ModelEntriesGenericDateTime ModelEntriesGenericDateTime = new ModelEntriesGenericDateTime();

            Assert.IsInstanceOfType(modelEntriesGenericBool, typeof(Entries <ISoftDeleteBool>));
            Assert.IsInstanceOfType(modelEntriesGenericChar, typeof(Entries <ISoftDeleteChar>));
            Assert.IsInstanceOfType(ModelEntriesGenericDateTime, typeof(Entries <ISoftDeleteDateTime>));
        }
예제 #2
0
        public void SetUp()
        {
            EntriesSoftDeleteBool     = new EntriesSoftDeleteBool();
            EntriesSoftDeleteChar     = new EntriesSoftDeleteChar();
            EntriesSoftDeleteDateTime = new EntriesSoftDeleteDateTime();

            ModelEntriesGenericChar     = new ModelEntriesGenericChar();
            ModelEntriesGenericBool     = new ModelEntriesGenericBool();
            ModelEntriesGenericDateTime = new ModelEntriesGenericDateTime();


            ModelGenericChar     = new ModelGenericChar();
            ModelGenericDateTime = new ModelGenericDateTime();
            ModelGenericBool     = new ModelGenericBool();

            ModelChar     = new ModelChar();
            ModelDateTime = new ModelDateTime();
            ModelBool     = new ModelBool();

            Builder = new DbContextOptionsBuilder();

            Db = new Db();
        }