Esempio n. 1
0
 /// <summary>
 /// Create a new Link object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="webSiteId">Initial value of the WebSiteId property.</param>
 /// <param name="href">Initial value of the Href property.</param>
 /// <param name="hash">Initial value of the Hash property.</param>
 public static Link CreateLink(global::System.Int32 id, global::System.Int32 webSiteId, global::System.String href, global::System.String hash)
 {
     Link link = new Link();
     link.Id = id;
     link.WebSiteId = webSiteId;
     link.Href = href;
     link.Hash = hash;
     return link;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LinkSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLinkSet(Link link)
 {
     base.AddObject("LinkSet", link);
 }