/// <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); }
/// <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); }