/// <summary> /// Create a new CoursePart object. /// </summary> /// <param name="partID">Initial value of the partID property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="instanceID">Initial value of the instanceID property.</param> public static CoursePart CreateCoursePart(global::System.Int32 partID, global::System.String name, global::System.String instanceID) { CoursePart coursePart = new CoursePart(); coursePart.partID = partID; coursePart.name = name; coursePart.instanceID = instanceID; return coursePart; }
/// <summary> /// Deprecated Method for adding a new object to the CourseParts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourseParts(CoursePart coursePart) { base.AddObject("CourseParts", coursePart); }