예제 #1
0
 /// <summary>
 /// 释放由当前对象控制的所有资源
 /// </summary>
 /// <param name="disposing">显式调用</param>
 protected override void Dispose(bool disposing)
 {
     if (disposed)
     {
         return;
     }
     if (disposing)
     {
         //释放托管资源
     }
     //释放非托管资源
     dataManager = null;
     _cmdb       = null;
     _dap        = null;
     base.Dispose(disposing);
 }
예제 #2
0
 /// <summary>
 /// ���캯��
 /// </summary>
 /// <param name="id">������Ψһ�ĸ�����ID</param>
 /// <param name="manager">���ݿ������</param>
 public OleDbUpdater(int id, OleDbManager manager)
     : base(id)
 {
     dataManager = manager;
 }
예제 #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="id">容器中唯一的更新器ID</param>
 /// <param name="manager">数据库管理器</param>
 public OleDbUpdater(int id, OleDbManager manager)
     : base(id)
 {
     dataManager = manager;
 }
예제 #4
0
 /// <summary>
 /// �ͷ��ɵ�ǰ������Ƶ�������Դ
 /// </summary>
 /// <param name="disposing">��ʽ����</param>
 protected override void Dispose(bool disposing)
 {
     if (disposed) return;
     if (disposing)
     {
         //�ͷ��й���Դ
     }
     //�ͷŷ��й���Դ
     dataManager = null;
     _cmdb = null;
     _dap = null;
     base.Dispose(disposing);
 }