public ProductRepository(SimsDbContext ctx, IMapper mapper) { this.ctx = ctx; this.DbSet = ctx.Set <T>(); this.DbSetDates = ctx.Set <Date>(); this.mapper = mapper; }
public LinkedRecordsRepository(SimsDbContext ctx, IMapper mapper, Func <int, string> publicIdGenerator) { this.ctx = ctx; this.LinkSet = ctx.Set <LinkDb>(); this.NoteSet = ctx.Set <NoteDb>(); this.mapper = mapper; this.publicIdGenerator = publicIdGenerator; }
public ProductFboRepository(SimsDbContext ctx, IMapper mapper) { this.ctx = ctx; this.DbSet = ctx.Set <ProductFBO>(); this.mapper = mapper; }
public NotesRepository(SimsDbContext ctx, IMapper mapper) { this.ctx = ctx; this.NoteSet = ctx.Set <NoteDb>(); this.mapper = mapper; }
public AttachmentsRepository(SimsDbContext ctx, IMapper mapper) { this.DbSet = ctx.Set <AttachmentDb>(); this.ctx = ctx; this.mapper = mapper; }
public StakeholdersRepository(SimsDbContext ctx, IMapper mapper) { this.ctx = ctx; this.DbSet = ctx.Set <T>(); this.mapper = mapper; }