protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
private GenerateTimeEntryData() { _context = new TimeEntryEntities(); }
public override void Initialize(DomainServiceContext context) { _context = new TimeEntryEntities(); base.Initialize(context); }