Esempio n. 1
0
 public CarRepository(ZakaraiMeContext context, IHostingEnvironment hostingEnvironment, IConfiguration configuration) : base(context)
 {
     this.hostingEnvironment = hostingEnvironment;
     this.connectionString   = configuration.GetConnectionString("DefaultConnection");
 }
Esempio n. 2
0
 public PictureRepository(ZakaraiMeContext context, IHostingEnvironment hostingEnvironment)
 {
     this.context = context;
     dbSet        = context.Set <Picture>();
     wwwRootPath  = hostingEnvironment.WebRootPath;
 }
Esempio n. 3
0
 public BaseRepository(ZakaraiMeContext context)
 {
     this.context = context;
     dbSet        = context.Set <TEntity>();
 }
Esempio n. 4
0
 public MessageRepository(ZakaraiMeContext context)
 {
     this.context = context;
     dbSet        = context.Set <Message>();
 }
Esempio n. 5
0
 public JourneyRepository(ZakaraiMeContext context) : base(context)
 {
 }