Example #1
0
 public ParticipantesController(EventosContext context)
 {
     this.EventosDao       = new EventosDaoImpl(context);
     this.ParticipantesDao = new ParticipantesDaoImpl(context);
 }
 public RepositorioConvidado(EventosContext eventosContext, IConfiguration configuration) : base(eventosContext)
 {
     _eventosContext = eventosContext;
     _configuration  = configuration;
     _stringConexao  = _configuration.GetConnectionString("DefaultConnection");
 }
Example #3
0
 public EventosController(EventosContext context, CasasDeShowContext cacontext, IngressoContext ingcontext)
 {
     _context    = context;
     _cacontext  = cacontext;
     _ingcontext = ingcontext;
 }
Example #4
0
 public ClienteRepository(EventosContext context) : base(context)
 {
 }
Example #5
0
 public Repository(EventosContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
 public OrganizadorRepository(EventosContext context) : base(context)
 {
 }
Example #7
0
 public EmpresaRepository(EventosContext context) : base(context)
 {
 }
 //EventosContext é passado por injeção de dependencia
 public EventosController(EventosContext context)
 {
     this.EventosDao = new EventosDaoImpl(context);
 }
 public RedeSocialRepository(EventosContext context)
     : base(context)
 {
     _context = context;
 }
Example #10
0
 public UnityOfwork(EventosContext context)
 {
     _context = context;
 }
Example #11
0
 public EventosController(EventosContext context)
 {
     this.Context = context;
 }
 public PalestranteRepository(EventosContext context)
     : base(context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
Example #13
0
 protected Repository(EventosContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }
 public LoteRepository(EventosContext context)
     : base(context)
 {
     _context = context;
 }
 public RepositoryBase(EventosContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
Example #16
0
 //EventosContext é passado por Injecao de Dependencia
 public EventosController(EventosContext ctx)
 {
     _eventosDaoImpl = new EventosDaoImpl(ctx);
 }
Example #17
0
 public UsuarioRepository(EventosContext context) : base(context)
 {
 }
Example #18
0
 protected Repository(EventosContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
Example #19
0
 public ParticipantesController(EventosContext ctx)
 {
     _eventosDaoImpl      = new EventosDaoImpl(ctx);
     _participanteDaoImpl = new ParticipantesDaoImpl(ctx);
 }
 public UnitOfWork(EventosContext context)
 {
     _context = context;
 }
Example #21
0
 protected Repository(EventosContext db)
 {
     Db    = db;
     DbSet = Db.Set <TEntity>();
 }
Example #22
0
 public EventoRepository(EventosContext context)
     : base(context)
 {
 }
Example #23
0
 public RepositorioBase(EventosContext eventosContexto)
 {
     _eventosContexto = eventosContexto;
 }