示例#1
0
        public void ReturnNotNull_TeamToolsDbContext()
        {
            // Arrange & Act
            var result = MeetMeDbContext.Create();

            // Assert
            Assert.IsNotNull(result);
        }
示例#2
0
        public void ReturnInstanceOf_TeamToolsDbContext()
        {
            // Arrange & Act
            var result = MeetMeDbContext.Create();

            // Assert
            Assert.IsInstanceOf <MeetMeDbContext>(result);
        }
示例#3
0
 public static void Initialize()
 {
     Database.SetInitializer(new MigrateDatabaseToLatestVersion <MeetMeDbContext, Configuration>());
     MeetMeDbContext.Create().Database.Initialize(true);
 }