Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseParts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseParts(CoursePart coursePart)
 {
     base.AddObject("CourseParts", coursePart);
 }