/// <summary> /// Deprecated Method for adding a new object to the tblCourseTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblCourseTypes(tblCourseType tblCourseType) { base.AddObject("tblCourseTypes", tblCourseType); }
/// <summary> /// Create a new tblCourseType object. /// </summary> /// <param name="idCourseType">Initial value of the idCourseType property.</param> /// <param name="nameCourseType">Initial value of the nameCourseType 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 tblCourseType CreatetblCourseType(global::System.Int32 idCourseType, global::System.String nameCourseType, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblCourseType tblCourseType = new tblCourseType(); tblCourseType.idCourseType = idCourseType; tblCourseType.nameCourseType = nameCourseType; tblCourseType.dateCreated = dateCreated; tblCourseType.dateModified = dateModified; tblCourseType.CreatedByLogin = createdByLogin; tblCourseType.ModifiedByLogin = modifiedByLogin; return tblCourseType; }