/// <summary> /// Deprecated Method for adding a new object to the AttributesInSets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAttributesInSets(AttributeInSet attributeInSet) { base.AddObject("AttributesInSets", attributeInSet); }
/// <summary> /// Create a new AttributeInSet object. /// </summary> /// <param name="attributeID">Initial value of the AttributeID property.</param> /// <param name="attributeSetID">Initial value of the AttributeSetID property.</param> /// <param name="attributeGroupID">Initial value of the AttributeGroupID property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="isTitle">Initial value of the IsTitle property.</param> public static AttributeInSet CreateAttributeInSet(global::System.Int32 attributeID, global::System.Int32 attributeSetID, global::System.Int32 attributeGroupID, global::System.Int32 sortOrder, global::System.Boolean isTitle) { AttributeInSet attributeInSet = new AttributeInSet(); attributeInSet.AttributeID = attributeID; attributeInSet.AttributeSetID = attributeSetID; attributeInSet.AttributeGroupID = attributeGroupID; attributeInSet.SortOrder = sortOrder; attributeInSet.IsTitle = isTitle; return attributeInSet; }