public IXapDataProvider Db(string dbEnvironment, string dbConnectionName, string tSql, string connectionString, string userName, string password) { return(XapDb.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(XapEnvironment.Instance.EnvironmentName, dbEnvironment, dbConnectionName, tSql, connectionString, userName, password))); }
public IXapDataProvider Db(string dbEnvironment, string dbConnectionName, string tSql) { return(XapDb.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(XapEnvironment.Instance.EnvironmentName, dbEnvironment, dbConnectionName, tSql))); }
public IXapDataProvider Db(IXapDbConnectionContext dbConnectionContext, IXapPasswordContext passwordContext) { dbConnectionContext.UserName = passwordContext.VaultUserId; dbConnectionContext.Password = passwordContext.Password; return(XapDb.Create(dbConnectionContext)); }
public IXapDataProvider Db(string dbEnvironment) { return(XapDb.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(dbEnvironment))); }
public IXapDataProvider Db(IXapDbConnectionContext dbConnectionContext) { return(XapDb.Create(dbConnectionContext)); }