/// <summary> /// Deprecated Method for adding a new object to the AttributeGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAttributeGroups(AttributeGroup attributeGroup) { base.AddObject("AttributeGroups", attributeGroup); }
/// <summary> /// Create a new AttributeGroup object. /// </summary> /// <param name="attributeGroupID">Initial value of the AttributeGroupID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="attributeSetID">Initial value of the AttributeSetID property.</param> public static AttributeGroup CreateAttributeGroup(global::System.Int32 attributeGroupID, global::System.String name, global::System.Int32 sortOrder, global::System.Int32 attributeSetID) { AttributeGroup attributeGroup = new AttributeGroup(); attributeGroup.AttributeGroupID = attributeGroupID; attributeGroup.Name = name; attributeGroup.SortOrder = sortOrder; attributeGroup.AttributeSetID = attributeSetID; return attributeGroup; }