partial void OnScreeningTypeChanging(global::Microsoft.Dynamics.DataEntities.ScreeningType value);
public static JobPreferredScreening CreateJobPreferredScreening(string jobId, string screeningTypeId, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.ScreeningType screeningType) { JobPreferredScreening jobPreferredScreening = new JobPreferredScreening(); jobPreferredScreening.JobId = jobId; jobPreferredScreening.ScreeningTypeId = screeningTypeId; if ((job == null)) { throw new global::System.ArgumentNullException("job"); } jobPreferredScreening.Job = job; if ((screeningType == null)) { throw new global::System.ArgumentNullException("screeningType"); } jobPreferredScreening.ScreeningType = screeningType; return(jobPreferredScreening); }