Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AttributeGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAttributeGroups(AttributeGroup attributeGroup)
 {
     base.AddObject("AttributeGroups", attributeGroup);
 }
Ejemplo n.º 2
0
 /// <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;
 }