protected override Priority GetEntity(TeamProjectContext entityContext, int id) { var query = (from e in entityContext.PrioritySet where e.PriorityId == id select e); var results = query.FirstOrDefault(); return(results); }
protected override IEnumerable <Status> GetEntities(TeamProjectContext entityContext) { return(from e in entityContext.StatusSet select e); }
protected override IEnumerable <Priority> GetEntities(TeamProjectContext entityContext) { return(from e in entityContext.PrioritySet select e); }
protected override Contact UpdateEntity(TeamProjectContext entityContext, Contact entity) { throw new NotImplementedException(); }
protected override IEnumerable <Contact> GetEntities(TeamProjectContext entityContext) { return(from e in entityContext.ContactSet select e); }
protected override Project AddEntity(TeamProjectContext entityContext, Project entity) { throw new NotImplementedException(); }
protected override IEnumerable <TeamMember> GetEntities(TeamProjectContext entityContext) { return(from e in entityContext.TeamMemberSet select e); }
protected override TeamMember UpdateEntity(TeamProjectContext entityContext, TeamMember entity) { throw new NotImplementedException(); }
protected override Company GetEntity(TeamProjectContext entityContext, int id) { throw new NotImplementedException(); }
protected override IEnumerable <Company> GetEntities(TeamProjectContext entityContext) { throw new NotImplementedException(); }