public UnitOfWork(KnightsContext context) { _context = context; Knights = new KnightsRepository(_context); Horses = new HorsesRepository(_context); Vows = new VowsRepository(_context); Weapons = new WeaponsRepository(_context); }
public WeaponsRepository(KnightsContext context) : base(context) { }
public VowsRepository(KnightsContext context) : base(context) { }
public HorsesRepository(KnightsContext context) : base(context) { }