예제 #1
0
 /// <summary>
 ///     Supply a source for the connection string to a Postgresql database
 /// </summary>
 /// <param name="connectionSource"></param>
 public ITenancyExpression Connection(Func <string> connectionSource)
 {
     _factory = new ConnectionFactory(connectionSource);
     return(this);
 }
예제 #2
0
 /// <summary>
 ///     Supply the connection string to the Postgresql database
 /// </summary>
 /// <param name="connectionString"></param>
 public ITenancyExpression Connection(string connectionString)
 {
     _factory = new ConnectionFactory(connectionString);
     return(this);
 }