예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemWearLocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemWearLocations(ItemWearLocation itemWearLocation)
 {
     base.AddObject("ItemWearLocations", itemWearLocation);
 }
예제 #2
0
 /// <summary>
 /// Create a new ItemWearLocation object.
 /// </summary>
 /// <param name="location">Initial value of the Location property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="itemId">Initial value of the ItemId property.</param>
 public static ItemWearLocation CreateItemWearLocation(global::System.Int32 location, global::System.Int32 id, global::System.Int32 itemId)
 {
     ItemWearLocation itemWearLocation = new ItemWearLocation();
     itemWearLocation.Location = location;
     itemWearLocation.Id = id;
     itemWearLocation.ItemId = itemId;
     return itemWearLocation;
 }