/// <summary>
 /// Deprecated Method for adding a new object to the StoreVariants EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStoreVariants(StoreVariant storeVariant)
 {
     base.AddObject("StoreVariants", storeVariant);
 }
 /// <summary>
 /// Create a new StoreVariant object.
 /// </summary>
 /// <param name="variantID">Initial value of the VariantID property.</param>
 /// <param name="portalID">Initial value of the PortalID property.</param>
 /// <param name="displayOrder">Initial value of the DisplayOrder property.</param>
 /// <param name="variantGroupID">Initial value of the VariantGroupID property.</param>
 /// <param name="variant">Initial value of the Variant property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static StoreVariant CreateStoreVariant(global::System.Int32 variantID, global::System.Int32 portalID, global::System.Int32 displayOrder, global::System.Int32 variantGroupID, global::System.String variant, global::System.Decimal price, global::System.Boolean isDeleted)
 {
     StoreVariant storeVariant = new StoreVariant();
     storeVariant.VariantID = variantID;
     storeVariant.PortalID = portalID;
     storeVariant.DisplayOrder = displayOrder;
     storeVariant.VariantGroupID = variantGroupID;
     storeVariant.Variant = variant;
     storeVariant.Price = price;
     storeVariant.IsDeleted = isDeleted;
     return storeVariant;
 }