Ejemplo n.º 1
0
        internal MasterDanceDbContext GetContext()
        {
            var optionsBuilder = new DbContextOptionsBuilder <MasterDanceDbContext>();

            optionsBuilder.UseSqlite(_connection);
            var context = new MasterDanceDbContext(optionsBuilder.Options);

            context.Database.EnsureCreated();
            return(context);
        }
 public Handler(MasterDanceDbContext dbContext) : base(dbContext)
 {
 }
Ejemplo n.º 3
0
 public Handler(MasterDanceDbContext dbContext, IMediator mediator) : base(dbContext)
 {
     _mediator = mediator;
 }
Ejemplo n.º 4
0
 public PasswordValidator(MasterDanceDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 5
0
 public Handler(MasterDanceDbContext dbContext, IDateTime dateTime) : base(dbContext)
 {
     _dateTime = dateTime;
 }
 public Handler(MasterDanceDbContext dbContext, IDatabaseQueries queries) : base(dbContext)
 {
     _queries = queries;
 }
Ejemplo n.º 7
0
 public DatabaseQueries(MasterDanceDbContext context)
 {
     _context = context;
 }
 protected MembershipCalculatorBase(MasterDanceDbContext dbContext)
 {
     DbContext = dbContext;
 }
 public MembershipCalculatorFactory(MasterDanceDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 10
0
 public ProfileService(MasterDanceDbContext context)
 {
     _context = context;
 }
 public StandardMembershipCalculator(MasterDanceDbContext dbContext) : base(dbContext)
 {
 }
 public Handler(MasterDanceDbContext dbContext, IImageService imageService) : base(dbContext)
 {
     _imageService = imageService;
 }
 public Handler(MasterDanceDbContext dbContext, IMembershipCalculatorFactory membershipCalculatorFactory) : base(dbContext)
 {
     _membershipCalculatorFactory = membershipCalculatorFactory;
 }
 public Handler(MasterDanceDbContext dbContext, IDatabaseQueries databaseQueries, IMediator mediator) : base(dbContext)
 {
     _databaseQueries = databaseQueries;
     _mediator        = mediator;
 }
Ejemplo n.º 15
0
 protected RequestHandlerBase(MasterDanceDbContext dbContext)
 {
     DbContext = dbContext;
 }