示例#1
0
 public ExecTaskRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#2
0
 public PlaceRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#3
0
 public AircRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#4
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="_jwtSettingsAccesser">注入Jwt认证</param>
 /// <param name="_db">注入数据库配置</param>
 public AreaController(IOptions <JwtSettings> _jwtSettingsAccesser, PreoffContext _db)
 {
     _jwtSettings = _jwtSettingsAccesser.Value;
     _dbContext   = _db;
 }
示例#5
0
 public CameraRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#6
0
 public DivisionRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbContext = dbcontext;
 }
示例#7
0
 public FireStationDataRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#8
0
 public HotsPotsRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }
示例#9
0
 public RepositoryBase(PreoffContext _db)
 {
     _dbContext = _db;
 }
示例#10
0
 public EventRepository(PreoffContext dbcontext) : base(dbcontext)
 {
     _dbcontext = dbcontext;
 }