예제 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="connection">数据连接</param>
 public TSBarrivebillBC(SqlConnection connection)
 {
     this.connection = connection;
     this.sBarrivebillBB = new TSBarrivebillBB(this.connection);
     this.errorDiaryBB = new SErrorDiaryBB(this.connection);
     this.operatDiaryBB = new SOperatDiaryBB(this.connection);
 }
예제 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public TSBarrivebillBC()
 {
     this.selfConn = true;
     this.connection = new SqlConnection(HS.Config.SqlDataObject.GetSqlConnectionString);
     this.connection.Open();
     this.sBarrivebillBB = new TSBarrivebillBB(this.connection);
     this.errorDiaryBB = new SErrorDiaryBB(this.connection);
     this.operatDiaryBB = new SOperatDiaryBB(this.connection);
 }