Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Link object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="uRL">Initial value of the URL property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static Link CreateLink(global::System.Int32 id, global::System.String uRL, global::System.String description)
 {
     Link link = new Link();
     link.Id = id;
     link.URL = uRL;
     link.Description = description;
     return link;
 }