/// <summary> /// Create a new tblCourseSchedule object. /// </summary> /// <param name="idCourseSchedule">Initial value of the idCourseSchedule property.</param> /// <param name="idCourse">Initial value of the idCourse property.</param> /// <param name="idTrainer">Initial value of the idTrainer property.</param> /// <param name="idTrainingFacility">Initial value of the idTrainingFacility property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="dateModified">Initial value of the dateModified property.</param> /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param> /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param> public static tblCourseSchedule CreatetblCourseSchedule(global::System.Int32 idCourseSchedule, global::System.Int32 idCourse, global::System.Int32 idTrainer, global::System.Int32 idTrainingFacility, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblCourseSchedule tblCourseSchedule = new tblCourseSchedule(); tblCourseSchedule.idCourseSchedule = idCourseSchedule; tblCourseSchedule.idCourse = idCourse; tblCourseSchedule.idTrainer = idTrainer; tblCourseSchedule.idTrainingFacility = idTrainingFacility; tblCourseSchedule.dateCreated = dateCreated; tblCourseSchedule.dateModified = dateModified; tblCourseSchedule.CreatedByLogin = createdByLogin; tblCourseSchedule.ModifiedByLogin = modifiedByLogin; return tblCourseSchedule; }
/// <summary> /// Deprecated Method for adding a new object to the tblCourseSchedules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblCourseSchedules(tblCourseSchedule tblCourseSchedule) { base.AddObject("tblCourseSchedules", tblCourseSchedule); }