A Generic Repository for use with the Entity Framework