public StatsRepository() { _context = new SoldOutContext(); #if DEBUG _context.Database.Log = s => Debug.WriteLine(s); #endif }
public WebSearchRespository() { _context = new SoldOutContext(); #if DEBUG _context.Database.Log = s => Debug.WriteLine(s); #endif }
public SoldOutRepository() { _context = new SoldOutContext(); #if DEBUG _context.Database.Log = s => System.Diagnostics.Debug.WriteLine(s); #endif }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }