Ejemplo n.º 1
0
 public IXapPoco Poco(string dbEnvironment, string dbConnectionName)
 {
     return(XapPoco.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(XapEnvironment.Instance.EnvironmentName, dbEnvironment, dbConnectionName)));
 }
Ejemplo n.º 2
0
 public IXapPoco Poco(string dbEnvironment)
 {
     return(XapPoco.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(dbEnvironment)));
 }
Ejemplo n.º 3
0
 public IXapDataProvider Db(string dbEnvironment, string dbConnectionName, string tSql)
 {
     return(XapDb.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(XapEnvironment.Instance.EnvironmentName, dbEnvironment, dbConnectionName, tSql)));
 }
Ejemplo n.º 4
0
 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)));
 }
Ejemplo n.º 5
0
 public IXapDataProvider Db(string dbEnvironment)
 {
     return(XapDb.Create(XapDbConnectionContextBuilder.Create().DbConnectionContext(dbEnvironment)));
 }