/// <summary> /// Deprecated Method for adding a new object to the ContentCommunities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentCommunities(ContentCommunity contentCommunity) { base.AddObject("ContentCommunities", contentCommunity); }
/// <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; }