/// <summary> /// Deprecated Method for adding a new object to the ItemTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemTypes(ItemType itemType) { base.AddObject("ItemTypes", itemType); }
/// <summary> /// Create a new ItemType object. /// </summary> /// <param name="itemTypeID">Initial value of the ItemTypeID property.</param> /// <param name="itemTypeName">Initial value of the ItemTypeName property.</param> public static ItemType CreateItemType(global::System.Byte itemTypeID, global::System.String itemTypeName) { ItemType itemType = new ItemType(); itemType.ItemTypeID = itemTypeID; itemType.ItemTypeName = itemTypeName; return itemType; }