Exemplo n.º 1
0
        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,
            });
        }
Exemplo n.º 2
0
 private void detach_CandidateListEntryEntities(CandidateListEntryEntity entity)
 {
     this.SendPropertyChanging();
     entity.JobApplicationEntity = null;
 }
Exemplo n.º 3
0
 private void attach_CandidateListEntryEntities(CandidateListEntryEntity entity)
 {
     this.SendPropertyChanging();
     entity.CandidateListEntity = this;
 }
Exemplo n.º 4
0
 partial void DeleteCandidateListEntryEntity(CandidateListEntryEntity instance);
Exemplo n.º 5
0
 partial void InsertCandidateListEntryEntity(CandidateListEntryEntity instance);