/// <summary> /// Create a new CourseStatus object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static CourseStatus CreateCourseStatus(global::System.Int32 id, global::System.String status, global::System.Byte[] rowVersion) { CourseStatus courseStatus = new CourseStatus(); courseStatus.Id = id; courseStatus.Status = status; courseStatus.RowVersion = rowVersion; return courseStatus; }
/// <summary> /// Deprecated Method for adding a new object to the CourseStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourseStatuses(CourseStatus courseStatus) { base.AddObject("CourseStatuses", courseStatus); }