public Transaction(CleanArchitectureExampleContext context) { this.transaction = context.Database.BeginTransaction(); }
public TransactionFactory(CleanArchitectureExampleContext context) { this.context = context; }
public EntityRepository(CleanArchitectureExampleContext context) { this.context = context; this.entities = context.Set <TEntity>(); this.entitiesAsNoTracking = context.Set <TEntity>().AsNoTracking(); }