// Database Injection // We inject db instead of create, because we will create only one db object for all entity repositories with Unit Of Work Architecture. // After Injection, we send the db object to the base. public EfAddressRepository(EfProjectContext context) : base(context) { }
// Database Injection // We inject db instead of create, because we will create only one db object for all entity repositories with Unit Of Work Architecture. // After Injection, we send the db object to the base. public EfPersonRepository(EfProjectContext context) : base(context) { }