/// <summary> /// Create a new Website object. /// </summary> /// <param name="websiteID">Initial value of the WebsiteID property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="locationID">Initial value of the LocationID property.</param> /// <param name="marketID">Initial value of the MarketID property.</param> /// <param name="salt">Initial value of the Salt property.</param> /// <param name="token">Initial value of the Token property.</param> /// <param name="skinKey">Initial value of the SkinKey property.</param> /// <param name="enableGoogleAnalytics">Initial value of the EnableGoogleAnalytics property.</param> /// <param name="enableGoogleWebmasterKey">Initial value of the EnableGoogleWebmasterKey property.</param> /// <param name="isPublished">Initial value of the IsPublished property.</param> /// <param name="isNoSearchEngines">Initial value of the IsNoSearchEngines property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="version">Initial value of the Version property.</param> public static Website CreateWebsite(global::System.Int32 websiteID, global::System.Int32 status, global::System.Int32 customerID, global::System.Int32 locationID, global::System.Int32 marketID, global::System.String salt, global::System.String token, global::System.String skinKey, global::System.Boolean enableGoogleAnalytics, global::System.Boolean enableGoogleWebmasterKey, global::System.Boolean isPublished, global::System.Boolean isNoSearchEngines, global::System.DateTime created, global::System.DateTime lastModified, global::System.Byte[] version) { Website website = new Website(); website.WebsiteID = websiteID; website.Status = status; website.CustomerID = customerID; website.LocationID = locationID; website.MarketID = marketID; website.Salt = salt; website.Token = token; website.SkinKey = skinKey; website.EnableGoogleAnalytics = enableGoogleAnalytics; website.EnableGoogleWebmasterKey = enableGoogleWebmasterKey; website.IsPublished = isPublished; website.IsNoSearchEngines = isNoSearchEngines; website.Created = created; website.LastModified = lastModified; website.Version = version; return website; }
/// <summary> /// Deprecated Method for adding a new object to the Websites EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWebsites(Website website) { base.AddObject("Websites", website); }