Name | Description | |
---|---|---|
ProductVariant Constructor | Overloaded. |
The following tables list the members exposed by ProductVariant.
Name | Description | |
---|---|---|
ProductVariant Constructor | Overloaded. |
Name | Description | |
---|---|---|
MAXIMUM_ATTRIBUTES | This constant is the number of columns for option Ids in the ProductVariants table |
Name | Description | |
---|---|---|
AvailabilityDate | Gets or sets the AvailabilityDate | |
Available | Gets or sets a value indicating whether this variant is Available | |
CalculatedPrice | Gets the Calculated Product Variant price | |
CostOfGoods | Gets or sets the CostOfGoods | |
ExtendedFields | Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity) | |
GTIN | Gets or sets the GTIN | |
HandlingCharges | Gets or sets the HandlingCharges | |
HasExtendedFields | Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity) | |
Height | Gets or sets the Height | |
IconUrl | Gets or sets the IconUrl | |
Id | Overridden. Gets or sets the Id for the entity. | |
ImageUrl | Gets or sets the ImageUrl | |
InStock | Gets or sets the InStock | |
InStockWarningLevel | Gets or sets the InStockWarningLevel | |
IsCustomized | Gets a value indicating whether any properties of this variant are different from the calculated values. | |
IsValid | Gets a value indicating whether the variant has valid values specified for the option choices | |
Length | Gets or sets the Length | |
ModelNumber | Gets or sets the ModelNumber | |
MSRP | Gets or sets the MSRP | |
Option1 | Gets or sets the Option1 | |
Option2 | Gets or sets the Option2 | |
Option3 | Gets or sets the Option3 | |
Option4 | Gets or sets the Option4 | |
Option5 | Gets or sets the Option5 | |
Option6 | Gets or sets the Option6 | |
Option7 | Gets or sets the Option7 | |
Option8 | Gets or sets the Option8 | |
OptionList | Gets the option list for the variant, in the form of #,#,#,#,#,#,#,# | |
Price | Gets or sets the Price | |
PriceMode | Gets or sets the price modifier mode. | |
PriceModeId | Gets or sets the PriceModeId | |
Product | Gets or sets the Product | |
ProductId | Gets or sets the Product for this entity. | |
ProductVariantId | Gets or sets the identity of this entity. | |
Repository | Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
RowVersion | Gets or sets the record version. | |
Sku | Gets or sets the Sku | |
ThumbnailUrl | Gets or sets the ThumbnailUrl | |
VariantName | Gets or sets the VariantName | |
Weight | Gets or sets the Weight | |
WeightMode | Gets or sets the weight modifier mode. | |
WeightModeId | Gets or sets the WeightModeId | |
Width | Gets or sets the Width |
Name | Description | |
---|---|---|
CalculateVariant | Calculates variant | |
Copy | Create a shallow copy of this ProductVariant instance. | |
Equals | Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
GetHashCode | Serves as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
GetOptionChoices | Gets an array of option choices that apply to this variant | |
GetSelectedOptionChoiceName | Gets the name of the selected option choice | |
GetSignatureProperties | Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject) | |
HasSameObjectSignatureAs | You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject) | |
IsTransient | Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) |
Name | Description | |
---|---|---|
GetTypeSpecificSignatureProperties | Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
GetTypeUnproxied | When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type. Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used. Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver! (Inherited from CommerceBuilder.DomainModel.BaseObject) |
Name | Description | |
---|---|---|
Delete | Delete the entity from the database | |
Save | Save the entity to the database | |
ToQueryString | Overloaded. Use this method to bulid query string from NameValueCollection |