/// <summary> /// Create a new ItemType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> public static ItemType CreateItemType(global::System.String id, global::System.String displayName) { ItemType itemType = new ItemType(); itemType.Id = id; itemType.DisplayName = displayName; return itemType; }
public static string SearchMarketplace(ItemType anItemType) { return "/Search/Marketplace?page=1&itemType=" + anItemType.Id + ""; }
/// <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); }