Beispiel #1
0
 public ClienteRepository(OnlinePremiosContext context) : base(context)
 {
     this._ctx = context;
 }
Beispiel #2
0
 public ProdutoRepository(OnlinePremiosContext context) : base(context)
 {
     this._ctx = context;
 }
Beispiel #3
0
 // Precisa receber o contexto, pois como uma classe
 // abstrata não pode ser instanciada, apenas herdada.
 protected RepositoryGeneric(OnlinePremiosContext ctx)
 {
     this._context = ctx;
 }
 public CotaItemRepository(OnlinePremiosContext context) : base(context)
 {
     this._ctx = context;
 }
 public SorteioRepository(OnlinePremiosContext context) : base(context)
 {
     _ctx = context;
 }