public VendaRepository(RevendaCarrosContext context) : base(context)
 {
 }
 public AluguelRepository(RevendaCarrosContext context) : base(context)
 {
 }
示例#3
0
 public Repository(RevendaCarrosContext dbContext)
 {
     this.dbContext = dbContext;
     dbSet          = dbContext.Set <TEntity>();
 }
        public BaseRepositoryTest()
        {
            var options = DbContextOptionsBuilder.UseInMemoryDatabase(Guid.NewGuid().ToString()).Options;

            DbContext = new RevendaCarrosContext(options);
        }
 public ImpostoRepository(RevendaCarrosContext context)
     : base(context)
 {
 }