public void Dispose() { tipoCuentaDAL.Disposed += (s, e) => { tipoCuentaDAL = null; }; tipoCuentaDAL.Dispose(); }