public static CourseTypeSkillProfile CreateCourseTypeSkillProfile(string courseTypeId, string skillId, global::Microsoft.Dynamics.DataEntities.RatingModel ratingModel, global::Microsoft.Dynamics.DataEntities.CourseType courseType, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Skill skill) { CourseTypeSkillProfile courseTypeSkillProfile = new CourseTypeSkillProfile(); courseTypeSkillProfile.CourseTypeId = courseTypeId; courseTypeSkillProfile.SkillId = skillId; if ((ratingModel == null)) { throw new global::System.ArgumentNullException("ratingModel"); } courseTypeSkillProfile.RatingModel = ratingModel; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTypeSkillProfile.CourseType = courseType; if ((ratingLevel == null)) { throw new global::System.ArgumentNullException("ratingLevel"); } courseTypeSkillProfile.RatingLevel = ratingLevel; if ((skill == null)) { throw new global::System.ArgumentNullException("skill"); } courseTypeSkillProfile.Skill = skill; return(courseTypeSkillProfile); }
public static CourseTable CreateCourseTable(string dataAreaId, string courseId, global::System.DateTimeOffset registrationDeadline, global::System.DateTimeOffset startDateTime, int maxAttendees, global::System.DateTimeOffset endDateTime, int minimumNumberOfParticipants, long instructorId, global::Microsoft.Dynamics.DataEntities.CourseType courseType) { CourseTable courseTable = new CourseTable(); courseTable.dataAreaId = dataAreaId; courseTable.CourseId = courseId; courseTable.RegistrationDeadline = registrationDeadline; courseTable.StartDateTime = startDateTime; courseTable.MaxAttendees = maxAttendees; courseTable.EndDateTime = endDateTime; courseTable.MinimumNumberOfParticipants = minimumNumberOfParticipants; courseTable.InstructorId = instructorId; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTable.CourseType = courseType; return(courseTable); }
public static CourseTypeNotes CreateCourseTypeNotes(string courseTypeId, global::Microsoft.Dynamics.DataEntities.CourseType courseType) { CourseTypeNotes courseTypeNotes = new CourseTypeNotes(); courseTypeNotes.CourseTypeId = courseTypeId; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTypeNotes.CourseType = courseType; return(courseTypeNotes); }
partial void OnCourseTypeChanging(global::Microsoft.Dynamics.DataEntities.CourseType value);
public static CourseTypeEducationProfile CreateCourseTypeEducationProfile(string courseTypeId, string educationId, global::Microsoft.Dynamics.DataEntities.EducationDiscipline educationDiscipline, global::Microsoft.Dynamics.DataEntities.CourseType courseType) { CourseTypeEducationProfile courseTypeEducationProfile = new CourseTypeEducationProfile(); courseTypeEducationProfile.CourseTypeId = courseTypeId; courseTypeEducationProfile.EducationId = educationId; if ((educationDiscipline == null)) { throw new global::System.ArgumentNullException("educationDiscipline"); } courseTypeEducationProfile.EducationDiscipline = educationDiscipline; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTypeEducationProfile.CourseType = courseType; return(courseTypeEducationProfile); }
public static CourseTypeDefaultDimension CreateCourseTypeDefaultDimension(string courseTypeId, string company, global::Microsoft.Dynamics.DataEntities.CourseType courseTypes) { CourseTypeDefaultDimension courseTypeDefaultDimension = new CourseTypeDefaultDimension(); courseTypeDefaultDimension.CourseTypeId = courseTypeId; courseTypeDefaultDimension.Company = company; if ((courseTypes == null)) { throw new global::System.ArgumentNullException("courseTypes"); } courseTypeDefaultDimension.CourseTypes = courseTypes; return(courseTypeDefaultDimension); }
public static CourseTypeCertificateProfile CreateCourseTypeCertificateProfile(string courseTypeId, string certificateTypeId, global::Microsoft.Dynamics.DataEntities.CertificateType certificateType, global::Microsoft.Dynamics.DataEntities.CourseType courseType) { CourseTypeCertificateProfile courseTypeCertificateProfile = new CourseTypeCertificateProfile(); courseTypeCertificateProfile.CourseTypeId = courseTypeId; courseTypeCertificateProfile.CertificateTypeId = certificateTypeId; if ((certificateType == null)) { throw new global::System.ArgumentNullException("certificateType"); } courseTypeCertificateProfile.CertificateType = certificateType; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTypeCertificateProfile.CourseType = courseType; return(courseTypeCertificateProfile); }