Пример #1
0
 /// <summary>
 /// Create a new tblCourse object.
 /// </summary>
 /// <param name="idCourse">Initial value of the idCourse property.</param>
 /// <param name="idCourseType">Initial value of the idCourseType property.</param>
 /// <param name="nameCourse">Initial value of the nameCourse 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 tblCourse CreatetblCourse(global::System.Int32 idCourse, global::System.Int32 idCourseType, global::System.String nameCourse, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblCourse tblCourse = new tblCourse();
     tblCourse.idCourse = idCourse;
     tblCourse.idCourseType = idCourseType;
     tblCourse.nameCourse = nameCourse;
     tblCourse.dateCreated = dateCreated;
     tblCourse.dateModified = dateModified;
     tblCourse.CreatedByLogin = createdByLogin;
     tblCourse.ModifiedByLogin = modifiedByLogin;
     return tblCourse;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCourses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCourses(tblCourse tblCourse)
 {
     base.AddObject("tblCourses", tblCourse);
 }