/// <summary> /// Dispose Resoureces /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { context.Dispose(); } } this.disposed = true; }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { db.Dispose(); } this.disposed = true; } }
public void Dispose() { _database.Dispose(); }
public void Dispose() { dataContext.Dispose(); }
public void Dispose() { _context.Dispose(); }