public BaseRepository(minhasTarefasContext context) { _context = context; _context.Configuration.AutoDetectChangesEnabled = false; _context.Configuration.EnsureTransactionsForFunctionsAndCommands = false; _context.Configuration.LazyLoadingEnabled = false; _context.Configuration.UseDatabaseNullSemantics = false; _context.Configuration.ValidateOnSaveEnabled = false; m_DbSet = _context.Set <TEntity>(); }
public TarefaRepository(minhasTarefasContext context) : base(context) { }
public UnitOfWork() { _context = new minhasTarefasContext(); }