コード例 #1
0
 public AuctionContextSeed(
     AuctionDbContext context,
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }
コード例 #2
0
 public EfRepository(AuctionDbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = _dbContext.Set <TEntity>();
 }
コード例 #3
0
 public AuctionRepository(AuctionDbContext dbContext) : base(dbContext)
 {
 }