Beispiel #1
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(Parts parts)
 {
     base.AddObject("Parts", parts);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Parts object.
 /// </summary>
 /// <param name="partsId">Initial value of the PartsId property.</param>
 /// <param name="partName">Initial value of the PartName property.</param>
 public static Parts CreateParts(global::System.Int32 partsId, global::System.String partName)
 {
     Parts parts = new Parts();
     parts.PartsId = partsId;
     parts.PartName = partName;
     return parts;
 }