Exemplo n.º 1
0
 public Repository()
 {
     _context = new teamtimEntities();
     _context.Database.Log = (message) => Debug.WriteLine(message);
     _context.Configuration.ProxyCreationEnabled = true;
     _context.Configuration.LazyLoadingEnabled   = false;
 }