//public static IDMLOperable CreateDMLOperable(string DBConnectionString, DBTypeEnum DBType) //{ // IDMLOperable dmlOperable = null; // switch (DBType) // { // //case DBTypeEnum.Oracle: // // break; // case DBTypeEnum.SQLServer: // dmlOperable = SQLServerDBOperator.NewInstance(DBConnectionString); // break; // case DBTypeEnum.MySQL: // dmlOperable = MySQLDBOperator.NewInstance(DBConnectionString); // break; // case DBTypeEnum.SQLite: // dmlOperable = SQLiteDBOperator.NewInstance(DBConnectionString); // break; // default: // break; // } // return dmlOperable; //} public static IDMLOperable CreateDMLOperable(string DBConnectionString, string DBType) { IDMLOperable dmlOperable = null; switch (DBType.ToLower()) { case "mysql": dmlOperable = MySQLDBOperatorStandard.NewInstance(DBConnectionString); //MySQLDBOperator.NewInstance(DBConnectionString); break; case "oracle": dmlOperable = OracleDBOperatorStandard.NewInstance(DBConnectionString); break; case "postgresql": dmlOperable = PostgreSQLDBOperatorStandard.NewInstance(DBConnectionString); break; case "sqlserver": dmlOperable = SQLServerDBOperatorStandard.NewInstance(DBConnectionString); break; case "sqlite": dmlOperable = SQLiteDBOperatorStandard.NewInstance(DBConnectionString); break; default: break; } return(dmlOperable); }
public static NuclideManager NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new NuclideManager(DMLOperable, DBType)); }
public NuclideManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }
public static IInstrumentManager NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new InstrumentManager(DMLOperable, DBType)); }
public InstrumentManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }
public AccountManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }
public static IMaintenanceManager NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new MaintenanceManager(DMLOperable, DBType)); }
public MaintenanceManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }
public static ILogQueryable NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new LogQueryable(DMLOperable, DBType)); }
public LogQueryable(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }
public static IAuthentication NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new AuthenticationManager(DMLOperable, DBType)); }
public AuthenticationManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dbType = DBType; this.dmlOperable = DMLOperable; }
public UserManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dbType = DBType; }
public static IApplicationManager NewInstance(IDMLOperable DMLOperable, DBTypeEnum DBType) { return(new SystemManager(DMLOperable, DBType)); }
public SystemManager(IDMLOperable DMLOperable, DBTypeEnum DBType) { this.dmlOperable = DMLOperable; this.dBType = DBType; }