Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WebUrls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWebUrls(WebUrl webUrl)
 {
     base.AddObject("WebUrls", webUrl);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new WebUrl object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="webTitle">Initial value of the WebTitle property.</param>
 /// <param name="url">Initial value of the Url property.</param>
 /// <param name="imageIndex">Initial value of the ImageIndex property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 public static WebUrl CreateWebUrl(global::System.Int64 id, global::System.String webTitle, global::System.String url, global::System.Int32 imageIndex, global::System.Int32 priority)
 {
     WebUrl webUrl = new WebUrl();
     webUrl.Id = id;
     webUrl.WebTitle = webTitle;
     webUrl.Url = url;
     webUrl.ImageIndex = imageIndex;
     webUrl.Priority = priority;
     return webUrl;
 }