/// <summary> /// 构造函数 /// </summary> /// <param name="DB">DBHelper的实例</param> public DATA0001BLL(DBHelper DB) { data0001Dal = new DATA0001DAL(DB); }
/// <summary> /// 构造函数 /// </summary> /// <param name="Thread">数据库连接指针,0是保留,最大99</param> public DATA0001BLL(int Thread) { data0001Dal = new DATA0001DAL(Thread); }
/// <summary> /// 构造函数 /// </summary> /// <param name="Thread">数据库连接指针,0是保留,最大99</param> /// <param name="factoryID">操作厂别</param> public DATA0001BLL(int Thread, int factoryID) { data0001Dal = new DATA0001DAL(Thread, factoryID); }
/// <summary> /// 构造函数 /// </summary> /// <param name="frm">窗口</param> /// <param name="factoryID">操作厂别</param> public DATA0001BLL(Form frm, int factoryID) { data0001Dal = new DATA0001DAL(frm, factoryID); }
/// <summary> /// 构造函数 /// </summary> /// <param name="frm">窗口</param> public DATA0001BLL(Form frm) { data0001Dal = new DATA0001DAL(frm); }
public DATA0001BLL(int factoryID) { dal = new DATA0001DAL(factoryID); }