/// <summary> /// Create a new ContentGroup object. /// </summary> /// <param name="contId">Initial value of the ContId property.</param> /// <param name="contState">Initial value of the ContState property.</param> public static ContentGroup CreateContentGroup(global::System.Int32 contId, global::System.Boolean contState) { ContentGroup contentGroup = new ContentGroup(); contentGroup.ContId = contId; contentGroup.ContState = contState; return contentGroup; }
/// <summary> /// Deprecated Method for adding a new object to the ContentGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentGroups(ContentGroup contentGroup) { base.AddObject("ContentGroups", contentGroup); }