/// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="dbContext">DBコンテキスト</param>
 public PlayerBoundRepository(
     PlayerBoundDbContext dbContext,
     ICacheRepository <TEntity> cacheRepository,
     IServiceProvider serviceProvider
     )
 {
     this.dbContext       = dbContext;
     this.cacheRepository = cacheRepository;
     this.serviceProvider = serviceProvider;
 }
Exemplo n.º 2
0
 /// <summary>
 /// トランザクション管理対象のDBコンテキストからインスタンスを生成する。
 /// </summary>
 /// <param name="playerBoundDbContext">プレイヤーDBコンテキスト。</param>
 public TransactionManager(PlayerBoundDbContext playerBoundDbContext)
 {
     this.playerBoundDbContext = playerBoundDbContext;
 }