Exemple #1
0
 /// <summary>
 /// <see cref="RepositoryWrapper"/> constructor.
 /// </summary>
 /// <param name="urbanDictionaryDBContext"></param>
 public RepositoryWrapper(UrbanDictionaryDBContext urbanDictionaryDBContext)
 {
     _dbContext = urbanDictionaryDBContext;
 }
 /// <summary>
 /// <see cref="WordRepository"/> constructor.
 /// </summary>
 /// <param name="dbContext">Database context</param>
 public WordRepository(UrbanDictionaryDBContext dbContext)
     : base(dbContext)
 {
     _context = dbContext;
 }
Exemple #3
0
 public UserSavedWordsRepository(UrbanDictionaryDBContext dbContext)
     : base(dbContext)
 {
     _context = dbContext;
 }
 /// <summary>
 /// Constructor for <see cref="RepositoryBase{T}"/>.
 /// </summary>
 /// <param name="urbanDictionaryDBContext"> Database context.</param>
 public RepositoryBase(UrbanDictionaryDBContext urbanDictionaryDBContext)
 {
     this.UrbanDictionaryDBContext = urbanDictionaryDBContext;
 }
Exemple #5
0
 /// <summary>
 /// <see cref="UserRepository"/> constructor.
 /// </summary>
 /// <param name="dbContext">Database context</param>
 public UserRepository(UrbanDictionaryDBContext dbContext)
     : base(dbContext)
 {
 }