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);
        }
Exemple #2
0
 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);
 }
Exemple #6
0
 protected override Project AddEntity(TeamProjectContext entityContext, Project entity)
 {
     throw new NotImplementedException();
 }
Exemple #7
0
 protected override IEnumerable <TeamMember> GetEntities(TeamProjectContext entityContext)
 {
     return(from e in entityContext.TeamMemberSet select e);
 }
Exemple #8
0
 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();
 }