/// <summary> /// Deprecated Method for adding a new object to the SiteContentGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSiteContentGroups(SiteContentGroup siteContentGroup) { base.AddObject("SiteContentGroups", siteContentGroup); }
/// <summary> /// Create a new SiteContentGroup object. /// </summary> /// <param name="siteId">Initial value of the SiteId property.</param> /// <param name="contId">Initial value of the ContId property.</param> public static SiteContentGroup CreateSiteContentGroup(global::System.Int32 siteId, global::System.Int32 contId) { SiteContentGroup siteContentGroup = new SiteContentGroup(); siteContentGroup.SiteId = siteId; siteContentGroup.ContId = contId; return siteContentGroup; }