/// <summary> /// ���캯�� /// </summary> /// <param name="connection">��������</param> public MBusinessBC(SqlConnection connection) { this.connection = connection; this.businessBB = new MBusinessBB(this.connection); this.errorDiaryBB = new SErrorDiaryBB(this.connection); this.operatDiaryBB = new SOperatDiaryBB(this.connection); this.commBB = new SCommBB(this.connection); }
/// <summary> /// ���캯�� /// </summary> public MBusinessBC() { this.selfConn = true; this.connection = new SqlConnection(HS.Config.SqlDataObject.GetSqlConnectionString); this.connection.Open(); this.businessBB = new MBusinessBB(this.connection); this.errorDiaryBB = new SErrorDiaryBB(this.connection); this.operatDiaryBB = new SOperatDiaryBB(this.connection); this.commBB = new SCommBB(this.connection); }