예제 #1
0
 public RepositoryGeneric(IgrejaContext igrejaContext)
 {
     Entity         = igrejaContext.Set <T>();
     _igrejaContext = igrejaContext;
 }
예제 #2
0
 public CategoriaRepository(IgrejaContext context) : base(context)
 {
     _context = context;
 }
예제 #3
0
 public UnitOfWork(IgrejaContext igrejaContext)
 {
     _igrejaContext = igrejaContext;
     Repository     = new RepositoryGeneric <T>(_igrejaContext);
 }