/// <summary> /// Create a new SiteHosts object. /// </summary> /// <param name="hostID">Initial value of the HostID property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="hostName">Initial value of the HostName property.</param> public static SiteHosts CreateSiteHosts(global::System.Int32 hostID, global::System.Int32 siteID, global::System.String hostName) { SiteHosts siteHosts = new SiteHosts(); siteHosts.HostID = hostID; siteHosts.SiteID = siteID; siteHosts.HostName = hostName; return siteHosts; }
/// <summary> /// Deprecated Method for adding a new object to the SiteHosts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSiteHosts(SiteHosts siteHosts) { base.AddObject("SiteHosts", siteHosts); }