コード例 #1
0
 public TournamentRepository(string connectionString, IBasicContextFactrory contextFactory) : base(connectionString, contextFactory)
 {
     this.db = contextFactory.CreateDbContext(ConnectionString);
 }
コード例 #2
0
 public BaseRepository(string connectionString, IBasicContextFactrory basicConextFactrory)
 {
     ConnectionString = connectionString;
     ConextFactrory   = basicConextFactrory;
 }