private void ConfigureEntityFramework() { Database.SetInitializer(new CreateDatabaseIfNotExists<MyAppContext>()); var context = new MyAppContext(); context.Database.CreateIfNotExists(); }
public ListEmployeesOlderThanCommand(MyAppContext context, Mapper mapper) { this.context = context; this.mapper = mapper; }
public ProjectRepository(MyAppContext context) : base(context) { this.Context = context; }
public SetManagerCommand(MyAppContext context, Mapper mapper) { this.context = context; this.mapper = mapper; }
public ProjectMemberRepository(MyAppContext context) : base(context) { }
public EmployeeRepo(MyAppContext appContext) : base(appContext) { _AppContext = appContext; }
public SetManagerCommand(MyAppContext context) { this.context = context; }
public SetAddressCommand(MyAppContext context, Mapper mapper) { this.context = context; this.mapper = mapper; }
public GaleriaGirlsAudioRepository(MyAppContext _db) { db = _db; }
public SetBirthdayCommand(MyAppContext context, Mapper mapper) { this.context = context; this.mapper = mapper; }
public BlogController(MyAppContext context) { _context = context; }
public EmployeePersonalInfoCommand(MyAppContext context) { this.context = context; }
public MyHtmlModelRepository(MyAppContext context) : base(context) { }
public FormLibrarian(MyAppContext myAppContext) { this.myAppContext = myAppContext; InitializeComponent(); }
public MemoryManager(MyAppContext c, ILogger <MemoryManager> logger) { ctx = c; _logger = logger; }
public SetBirthdayCommand(MyAppContext context) { this.context = context; }
public AdminController(UserManager <AppUser> userManager, RoleManager <AppRole> roleManager, IMapper mapper, MyAppContext appDbContext) { _userManager = userManager; _roleManager = roleManager; _mapper = mapper; _appDbContext = appDbContext; }
public BookController(MyAppContext context) { _context = context; }
public TeacherRepository(MyAppContext context) { _context = context; }
public GenericRepository(MyAppContext dbContext) { this._dbContext = dbContext; }
public RoleRepository(MyAppContext context) : base(context) { }
public ChangePasswordRepository(MyAppContext _db) { db = _db; }
public PlayerRepository(MyAppContext context) { _context = context; }
public Handler(MyAppContext context, ILogger <Handler> logger) { this.context = context; this.logger = logger; }
public EmployeePersonalInfoCommand(MyAppContext context, Mapper mapper) { _context = context; _mapper = mapper; }
public ManagerInfoCommand(MyAppContext context, Mapper mapper) { _context = context; _mapper = mapper; }
public TeamRepository(MyAppContext myAppContext) : base(myAppContext) { }
public ThemeMarkRepository(MyAppContext context) : base(context) { }
public MockUser(MyAppContext context) { _context = context; }
public AddEmployeeCommand(MyAppContext context, Mapper mapper) { this.context = context; this.mapper = mapper; }
public UserController(MyAppContext context) { this.context = context; }