Exemplo n.º 1
0
 // Constructor
 public StudentRepository(CSharp_RepositoryPatternContext context)
 {
     this._context = context;
 }
Exemplo n.º 2
0
 // Constructor
 public FacultyRepository(CSharp_RepositoryPatternContext context)
 {
     this._context = context;
 }
 // Constructor
 public GenericRepository(CSharp_RepositoryPatternContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }