示例#1
0
 public FPSQLDal(string server, string database, string user, string password)
 {
     Connection = GenericFactoryHelper.GetSQLServerConnection(server, database, user, password);
 }
示例#2
0
 public FPSQLDal(string server, string database)
 {
     Connection = GenericFactoryHelper.GetSQLServerConnection(server, database);
 }
示例#3
0
 public static DbConnectionStringBuilder ConnectionStringBuilder(string providerName)
 {
     return(GenericFactoryHelper.GetFactory(providerName).CreateConnectionStringBuilder());
 }
示例#4
0
 public FPAccessDal(string dbPath, string password)
 {
     Connection = GenericFactoryHelper.GetAccessConnection(dbPath, password);
 }
示例#5
0
 public FPSQLCEDal(string dbPath, string password)
 {
     Connection = GenericFactoryHelper.GetSQLCeConnection(dbPath, password);
 }