コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemTags EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemTags(ItemTag itemTag)
 {
     base.AddObject("ItemTags", itemTag);
 }
コード例 #2
0
 internal static Tag Translate(ItemTag tag)
 {
     return new Tag(tag.Tag, tag.ItemID);
 }
コード例 #3
0
 /// <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;
 }