November Happy Hour will be moved to Thursday December 5th.

Class PromotionDto

Represents a strongly typed in-memory cache of data.

Inheritance
System.Object
PromotionDto
Namespace: Mediachase.Commerce.Marketing.Dto
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public class PromotionDto : DataSet

Constructors

PromotionDto()

Declaration
public PromotionDto()

PromotionDto(SerializationInfo, StreamingContext)

Declaration
protected PromotionDto(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Properties

Promotion

Declaration
public PromotionDto.PromotionDataTable Promotion { get; }
Property Value
Type Description
PromotionDto.PromotionDataTable

PromotionCondition

Declaration
public PromotionDto.PromotionConditionDataTable PromotionCondition { get; }
Property Value
Type Description
PromotionDto.PromotionConditionDataTable

PromotionLanguage

Declaration
public PromotionDto.PromotionLanguageDataTable PromotionLanguage { get; }
Property Value
Type Description
PromotionDto.PromotionLanguageDataTable

PromotionPolicy

Declaration
public PromotionDto.PromotionPolicyDataTable PromotionPolicy { get; }
Property Value
Type Description
PromotionDto.PromotionPolicyDataTable

Relations

Declaration
public DataRelationCollection Relations { get; }
Property Value
Type Description
System.Data.DataRelationCollection

SchemaSerializationMode

Declaration
public override SchemaSerializationMode SchemaSerializationMode { get; set; }
Property Value
Type Description
System.Data.SchemaSerializationMode

Tables

Declaration
public DataTableCollection Tables { get; }
Property Value
Type Description
System.Data.DataTableCollection

Methods

Clone()

Declaration
public override DataSet Clone()
Returns
Type Description
System.Data.DataSet

GetSchemaSerializable()

Declaration
protected override XmlSchema GetSchemaSerializable()
Returns
Type Description
System.Xml.Schema.XmlSchema

GetTypedDataSetSchema(XmlSchemaSet)

Declaration
public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
Parameters
Type Name Description
System.Xml.Schema.XmlSchemaSet xs
Returns
Type Description
System.Xml.Schema.XmlSchemaComplexType

InitializeDerivedDataSet()

Declaration
protected override void InitializeDerivedDataSet()

ReadXmlSerializable(XmlReader)

Declaration
protected override void ReadXmlSerializable(XmlReader reader)
Parameters
Type Name Description
System.Xml.XmlReader reader

ShouldSerializeRelations()

Declaration
protected override bool ShouldSerializeRelations()
Returns
Type Description
System.Boolean

ShouldSerializeTables()

Declaration
protected override bool ShouldSerializeTables()
Returns
Type Description
System.Boolean