public CrEntityBus(tpc.h h, DbType dbType = DbType.sqlserver) : this() { this.h = h; this.DbType = dbType; switch (this.DbType) { case DbType.sqlserver: TileLabel(""); break; case DbType.mysql: TileLabelMySql(""); break; default: break; } }
public TakeFromTemplate(tpc.h h, DbType dbType = DbType.sqlserver) : this() { this.h = h; this.DbType = dbType; switch (this.DbType) { case DbType.sqlserver: TileLabel(""); break; case DbType.mysql: connStr = System.Configuration.ConfigurationManager.AppSettings["mysql"]; TileLabelMySql(""); break; default: break; } }