コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContentCommunities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContentCommunities(ContentCommunity contentCommunity)
 {
     base.AddObject("ContentCommunities", contentCommunity);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ContentCommunity object.
 /// </summary>
 /// <param name="communityID">Initial value of the CommunityID property.</param>
 public static ContentCommunity CreateContentCommunity(global::System.Int32 communityID)
 {
     ContentCommunity contentCommunity = new ContentCommunity();
     contentCommunity.CommunityID = communityID;
     return contentCommunity;
 }