Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the repository.
 /// </summary>
 /// <param name="context">The context upon which the repository is based.</param>
 public RepositoryBase(DepartmentContactContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }
 public DepartmentContactRepository(DepartmentContactContext context) : base(context)
 {
 }