public void Dispose() { if (Context != null) { Context.Dispose(); Context = null; } }
public UnitOfWork() { Context = new ProjectOnlineSystemConnectorDataViewsEntities(); Context.Database.CommandTimeout = Int32.MaxValue; }