Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemType(ItemType itemType)
 {
     base.AddObject("ItemType", itemType);
 }
Exemple #2
0
 /// <summary>
 /// Create a new ItemType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 /// <param name="includeInSAPOrders">Initial value of the IncludeInSAPOrders property.</param>
 /// <param name="rRPAvailable">Initial value of the RRPAvailable property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static ItemType CreateItemType(global::System.Guid id, global::System.Guid iDDivision, global::System.Boolean includeInSAPOrders, global::System.Boolean rRPAvailable, global::System.Boolean deleted)
 {
     ItemType itemType = new ItemType();
     itemType.ID = id;
     itemType.IDDivision = iDDivision;
     itemType.IncludeInSAPOrders = includeInSAPOrders;
     itemType.RRPAvailable = rRPAvailable;
     itemType.Deleted = deleted;
     return itemType;
 }