/// <summary> /// Deprecated Method for adding a new object to the ItemTags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemTags(ItemTag itemTag) { base.AddObject("ItemTags", itemTag); }
internal static Tag Translate(ItemTag tag) { return new Tag(tag.Tag, tag.ItemID); }
/// <summary> /// Create a new ItemTag object. /// </summary> /// <param name="ownerID">Initial value of the OwnerID property.</param> /// <param name="tag">Initial value of the Tag property.</param> /// <param name="itemID">Initial value of the ItemID property.</param> public static ItemTag CreateItemTag(global::System.Guid ownerID, global::System.String tag, global::System.Guid itemID) { ItemTag itemTag = new ItemTag(); itemTag.OwnerID = ownerID; itemTag.Tag = tag; itemTag.ItemID = itemID; return itemTag; }