public PersistenceService(Data.ServerDataContext context) { if (context == null) throw new ArgumentNullException("context"); this.context = context; }
public void Dispose() { context.Dispose(); context = null; }