internal ServiceController(SqlServerContext db)
 {
     _db = db;
 }
 public BaseRepository(IOptions <AppSettings> settings)
 {
     this.settings = settings;
     this.context  = new SqlServerContext(this.settings);
 }
 public UserRepository(SqlServerContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public CustomerRepository(SqlServerContext sqlServerContext)
 {
     _sqlServerContext = sqlServerContext ?? throw new ArgumentException(nameof(sqlServerContext));
 }
Beispiel #5
0
 public RepositorioBase(SqlServerContext context)
 {
     this._context = context;
 }
Beispiel #6
0
 public UsuariosController(SqlServerContext context)
 {
     _context = context;
 }
 public LancamentoRepositorioImpl(SqlServerContext context)
 {
     _context = context;
 }
 public CategoryRepository(SqlServerContext sqlServerContext)
 {
     _sqlServerContext = sqlServerContext ?? throw new ArgumentNullException(nameof(sqlServerContext));
 }
 internal ThirdPartyServiceController(SqlServerContext db)
 {
     _db = db;
 }
 public BaseRepository(SqlServerContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
 public BaseRepository(SqlServerContext sqlContext)
 {
     _sqlContext = sqlContext;
 }
Beispiel #12
0
 public AutorRepositorio(SqlServerContext context)
 {
     this._context = context;
 }
Beispiel #13
0
 public PessoaRepository(SqlServerContext context) : base(context)
 {
 }
 public CategoryRepository(IAuthenticateUser <string> authenticatetUser, SqlServerContext context)
     : base(authenticatetUser, context)
 {
 }
Beispiel #15
0
 public LivelliController(SqlServerContext context)
 {
     _context = context;
 }
 public Repository(SqlServerContext dbContext)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
 }
Beispiel #17
0
 public Repository(SqlServerContext context)
 {
     this.context = context;
     _dbSet       = context.Set <T>();
 }
 public OrderController(SqlServerContext context)
 {
     _context = context;
 }
 public DetalleNotaCatalogo()
 {
     Context = new SqlServerContext();
 }
 public DataRepository()
 {
     _db = new SqlServerContext();
 }
 public ProdutoRepository(SqlServerContext context) : base(context)
 {
     this.context = context;
 }
 //construtor para injeção de dependência
 public ClienteRepository(SqlServerContext context)
     : base(context) //construtor da superclasse
 {
     this.context = context;
 }
Beispiel #23
0
 public Repository(IConfiguration configuration)
 {
     _configuration  = configuration;
     _databaseConfig = new SqlServerContext(_configuration);
 }
Beispiel #24
0
 public TransactionRepository(SqlServerContext context) : base(context)
 {
 }
 public UserRepository(SqlServerContext sqlServerContext) : base(sqlServerContext)
 {
     _sqlServerContext = sqlServerContext;
 }
 public MySqlDbContextProvider(SqlServerContext context)
 {
     _context = context;
 }
Beispiel #27
0
 public FornecedorRepository(SqlServerContext context)
     : base(context)
 {
     this.context = context;
 }
Beispiel #28
0
 public UserRepository(SqlServerContext context) : base(context)
 {
 }
 //construtor para inicializar o atributo
 public UnitOfWork(SqlServerContext context)
 {
     this.context = context;
 }
Beispiel #30
0
 //construtor para injeção de dependência
 protected BaseRepository(SqlServerContext context)
 {
     this.context = context;
 }