示例#1
0
 public TicketRepository(MSSqlContext db)
 {
     _db = db;
 }
 public TicketClassDetailRepository(MSSqlContext db)
 {
     _db = db ?? throw new ArgumentNullException(nameof(db));
 }
示例#3
0
 public AdminAccountRepository(MSSqlContext db)
 {
     _db = db;
 }
示例#4
0
 public FlightRepository(MSSqlContext db)
 {
     _db = db ?? throw new ArgumentNullException(nameof(db));
 }
示例#5
0
 public UserRepository(MSSqlContext context)
 {
     _context = context;
 }
 public GenericRepository(MSSqlContext context)
 {
     _context = context;
     dataset  = context.Set <T>();
 }
 public PersonRepository(MSSqlContext context) : base(context)
 {
 }
示例#8
0
 public BookingRepository(MSSqlContext db)
 {
     _db = db;
 }
示例#9
0
 public TimeSlotRepository(MSSqlContext db)
 {
     _db = db;
 }