/// <summary> /// Create a new ItemType object. /// </summary> /// <param name="itemTypeID">Initial value of the ItemTypeID property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="price">Initial value of the Price property.</param> public static ItemType CreateItemType(global::System.Guid itemTypeID, global::System.String type, global::System.Decimal price) { ItemType itemType = new ItemType(); itemType.ItemTypeID = itemTypeID; itemType.Type = type; itemType.Price = price; return itemType; }
/// <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); }