public DMLService() { this.J_strConnectionString = string.Empty; this.J_enmDatabaseType = J_DatabaseType.Sql; this.J_enmApplicationType = J_ApplicationType.StandAlone; this.J_IdbConn = null; this.J_IdbTran = null; this.J_IdbcmdCommand = null; this.J_intCommandTimeout = 30; this.J_intRetryConnect = 3; this.J_blnDisposed = false; this.J_blnConnected = false; }
public DMLService(string strConnectionString, J_DatabaseType dbType, J_ApplicationType AppType) { this.J_strConnectionString = string.Empty; this.J_enmDatabaseType = dbType; this.J_enmApplicationType = AppType; this.J_IdbConn = null; this.J_IdbTran = null; this.J_IdbcmdCommand = null; this.J_intCommandTimeout = 30; this.J_intRetryConnect = 3; this.J_blnDisposed = false; this.J_blnConnected = false; this.J_ConfigureConnction(strConnectionString, dbType); }