Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WebSiteSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWebSiteSet(WebSite webSite)
 {
     base.AddObject("WebSiteSet", webSite);
 }
Пример #2
0
 /// <summary>
 /// Create a new WebSite object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="domain">Initial value of the Domain property.</param>
 /// <param name="favicon">Initial value of the Favicon property.</param>
 public static WebSite CreateWebSite(global::System.Int32 id, global::System.String domain, global::System.String favicon)
 {
     WebSite webSite = new WebSite();
     webSite.Id = id;
     webSite.Domain = domain;
     webSite.Favicon = favicon;
     return webSite;
 }