/// <summary> /// ���캯�� /// </summary> public WFunctionStepBB() { this.selfConn = true; this.connection = new SqlConnection(HS.Config.SqlDataObject.GetSqlConnectionString); this.connection.Open(); this.functionStepDB = new WFunctionStepDB(this.connection); }
/// <summary> /// ���캯�� /// </summary> /// <param name="connection">��������</param> public WFunctionStepBB(SqlConnection connection) { this.connection = connection; this.functionStepDB = new WFunctionStepDB(connection); }
protected virtual void Dispose(bool disposing) { if (!disposing) return; if (this.selfConn) { this.connection.Close(); this.connection.Dispose(); this.connection = null; } if (this.functionStepDB != null) { this.functionStepDB.Dispose(); this.functionStepDB = null; } }