Table of Contents

Class DynamicProductRelation

Namespace
Dynamicweb.Ecommerce.Products.DynamicRelations
Assembly
Dynamicweb.Ecommerce.dll

Represents a relation between a Product (Product properties), a Product (Relation properties) and a DynamicRelationGroup.

public sealed class DynamicProductRelation
Inheritance
DynamicProductRelation
Inherited Members
Extension Methods

Properties

Amount

The specified amount of the relation.

public double? Amount { get; set; }

Property Value

double?

Description

A description of the relation.

public string? Description { get; set; }

Property Value

string

DynamicRelationGroupId

The ID of the DynamicRelationGroup to which this relation belongs.

public string DynamicRelationGroupId { get; set; }

Property Value

string

Id

The primary ID.

public string Id { get; set; }

Property Value

string

SourceProductId

The ID of the Product that is the source of the relation.

public string? SourceProductId { get; set; }

Property Value

string

SourceProductUnitId

The ID of the Unit that is the source of the relation.

public string? SourceProductUnitId { get; set; }

Property Value

string

SourceProductVariantId

The ID of the product variant that is the source of the relation.

public string? SourceProductVariantId { get; set; }

Property Value

string

SourceProductVariantOptionId

The ID of the VariantOption that is the source of the relation.

public string? SourceProductVariantOptionId { get; set; }

Property Value

string

TargetProductId

The ID of the Product that is the target of the relation.

public string? TargetProductId { get; set; }

Property Value

string

TargetProductVariantId

The ID of the product variant that is the target of the relation.

public string? TargetProductVariantId { get; set; }

Property Value

string

ValidFrom

The date and time from which the relation is valid.

public DateTime? ValidFrom { get; set; }

Property Value

DateTime?

ValidTo

The date and time until which the relation is valid.

public DateTime? ValidTo { get; set; }

Property Value

DateTime?
To top