Dynamicweb.eCommerce.Products Namespace : PropertyProductValue Class |
'Declaration
<SerializableAttribute()> Public Class PropertyProductValue
[SerializableAttribute()] public class PropertyProductValue
class MyPage : System.Web.UI.Page { public void DelProductPropertyRelation() { if ((Session["Ecom.Backend.Product"] != null)) { Product prod = (Product)Session["Ecom.Backend.Product"]; string typeID = Request.QueryString["typeID"]; prod.PropertyRelations = null; prod.PropertyProductValues = null; //Delete the relation from product to type PropertyProductRelation.Delete(prod.ID, typeID); //Delete all values PropertyProductValue.DeleteAllFromType(prod.ID, prod.VariantID, Dynamicweb.eCommerce.Common.Context.LanguageID, typeID); } } }
System.Object
Dynamicweb.eCommerce.Products.PropertyProductValue
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2