/// <summary>
 /// Deprecated Method for adding a new object to the links EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolinks(link link)
 {
     base.AddObject("links", link);
 }
 /// <summary>
 /// Create a new link object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="link_type">Initial value of the link_type property.</param>
 /// <param name="attribute_count">Initial value of the attribute_count property.</param>
 public static link Createlink(global::System.Int32 id, global::System.Int32 link_type, global::System.Int32 attribute_count)
 {
     link link = new link();
     link.id = id;
     link.link_type = link_type;
     link.attribute_count = attribute_count;
     return link;
 }