コード例 #1
0
 public UnitOfWork(IMarketSimulatorContext dbContext)
 {
     this.dbContext = dbContext;
 }
コード例 #2
0
ファイル: AuthRepository.cs プロジェクト: mdeperas/Market
 public AuthRepository(IMarketSimulatorContext context)
 {
     this.context = context;
     _userManager = new UserManager <IdentityUser>(new UserStore <IdentityUser>(this.context as DbContext));
 }
コード例 #3
0
 public BaseRepository(IMarketSimulatorContext context)
 {
     this.context = context;
     this.dbSet   = (context as DbContext).Set <T>();
 }