ConnectionProvider for Sqlite in memory tests, that suppresses closing the connection to keep the data until the test is finished.
Inheritance: NHibernate.Connection.DriverConnectionProvider
示例#1
0
 public override void TearDown()
 {
     base.TearDown();
     InMemoryConnectionProvider.Restart();
 }
示例#2
0
 /// <summary>
 /// The common test teardown code. To activate it in a specific test framework,
 /// it must be called from a framework-specific teardown-Method.
 /// </summary>
 public virtual void TearDown()
 {
     ActiveRecordStarter.ResetInitializationFlag();
     InMemoryConnectionProvider.Restart();
 }