protected override IPersistenceConfigurer GetDatabaseConfiguration() { var provider = new TestConnectionProvider("__NAME__"); return MsSqlConfiguration.MsSql2012 .ConnectionString(provider.GetConnectionString()); }
protected override IPersistenceConfigurer GetDatabaseConfiguration() { var provider = new TestConnectionProvider("__NAME__"); return(MsSqlConfiguration.MsSql2012 .ConnectionString(provider.GetConnectionString())); }
public IStatelessSession GetStatelessSession() { var sessionFactory = new TestSessionFactoryConfig().CreateSessionFactory(); var connectionProvider = new TestConnectionProvider("__NAME__"); return sessionFactory.OpenStatelessSession(connectionProvider.GetConnection()); }