public void Dispose() { if (_context != null) { _context.Dispose(); _context = null; } }
public EntityFrameworkRepository(TallyJ2dContext context) { _context = context; }