예제 #1
0
 /// <summary>
 /// Create a new Part object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="metalTypeId">Initial value of the metalTypeId property.</param>
 public static Part CreatePart(global::System.Int32 id, global::System.Int32 metalTypeId)
 {
     Part part = new Part();
     part.id = id;
     part.metalTypeId = metalTypeId;
     return part;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Parts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParts(Part part)
 {
     base.AddObject("Parts", part);
 }