/// <summary> /// Constructor for building a new simple object with the POCO class /// </summary> public ProjectClassificationSimple(ProjectClassification projectClassification) : this() { ProjectClassificationID = projectClassification.ProjectClassificationID; ProjectID = projectClassification.ProjectID; ClassificationID = projectClassification.ClassificationID; ClassificationSystemID = projectClassification.Classification.ClassificationSystemID; }
public static void DeleteProjectClassification(this IQueryable <ProjectClassification> projectClassifications, ProjectClassification projectClassificationToDelete) { DeleteProjectClassification(projectClassifications, new List <ProjectClassification> { projectClassificationToDelete }); }