public void Dispose() { if (_context != null) { _context.Dispose(); } }
protected override void Dispose(bool disposing) { db.Dispose(); base.Dispose(disposing); }