コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SiteContentGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSiteContentGroups(SiteContentGroup siteContentGroup)
 {
     base.AddObject("SiteContentGroups", siteContentGroup);
 }
コード例 #2
0
 /// <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;
 }