/// <summary> /// Deprecated Method for adding a new object to the StoreVariantGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoreVariantGroups(StoreVariantGroup storeVariantGroup) { base.AddObject("StoreVariantGroups", storeVariantGroup); }
/// <summary> /// Create a new StoreVariantGroup object. /// </summary> /// <param name="variantGroupID">Initial value of the VariantGroupID property.</param> /// <param name="portalID">Initial value of the PortalID property.</param> /// <param name="displayOrder">Initial value of the DisplayOrder property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="variantTypeID">Initial value of the VariantTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static StoreVariantGroup CreateStoreVariantGroup(global::System.Int32 variantGroupID, global::System.Int32 portalID, global::System.Int32 displayOrder, global::System.DateTime createDate, global::System.Int32 variantTypeID, global::System.String name, global::System.Boolean isDeleted) { StoreVariantGroup storeVariantGroup = new StoreVariantGroup(); storeVariantGroup.VariantGroupID = variantGroupID; storeVariantGroup.PortalID = portalID; storeVariantGroup.DisplayOrder = displayOrder; storeVariantGroup.CreateDate = createDate; storeVariantGroup.VariantTypeID = variantTypeID; storeVariantGroup.Name = name; storeVariantGroup.IsDeleted = isDeleted; return storeVariantGroup; }