public static T MapTo <T>(this CandidateListEntryEntity entity) where T : ContenderListEntry, new() { if (entity == null) { return(null); } return(new T { ListId = entity.candidateListId, CreatedTime = entity.createdTime, ContenderId = entity.candidateId, ApplicationId = entity.jobApplicationId, ApplicantStatus = (ApplicantStatus?)entity.jobApplicationStatus, }); }
private void detach_CandidateListEntryEntities(CandidateListEntryEntity entity) { this.SendPropertyChanging(); entity.JobApplicationEntity = null; }
private void attach_CandidateListEntryEntities(CandidateListEntryEntity entity) { this.SendPropertyChanging(); entity.CandidateListEntity = this; }
partial void DeleteCandidateListEntryEntity(CandidateListEntryEntity instance);
partial void InsertCandidateListEntryEntity(CandidateListEntryEntity instance);