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

Class PromotionUsageDto.PromotionUsageDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
PromotionUsageDto.PromotionUsageDataTable
Namespace: Mediachase.Commerce.Marketing.Dto
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public class PromotionUsageDataTable : TypedTableBase<PromotionUsageDto.PromotionUsageRow>

Constructors

PromotionUsageDataTable()

Declaration
public PromotionUsageDataTable()

PromotionUsageDataTable(SerializationInfo, StreamingContext)

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

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

CustomerIdColumn

Declaration
public DataColumn CustomerIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

Item[Int32]

Declaration
public PromotionUsageDto.PromotionUsageRow this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
PromotionUsageDto.PromotionUsageRow

LastUpdatedColumn

Declaration
public DataColumn LastUpdatedColumn { get; }
Property Value
Type Description
System.Data.DataColumn

OrderGroupIdColumn

Declaration
public DataColumn OrderGroupIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

PromotionIdColumn

Declaration
public DataColumn PromotionIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

PromotionUsageIdColumn

Declaration
public DataColumn PromotionUsageIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

StatusColumn

Declaration
public DataColumn StatusColumn { get; }
Property Value
Type Description
System.Data.DataColumn

VersionColumn

Declaration
public DataColumn VersionColumn { get; }
Property Value
Type Description
System.Data.DataColumn

Methods

AddPromotionUsageRow(PromotionUsageDto.PromotionUsageRow)

Declaration
public void AddPromotionUsageRow(PromotionUsageDto.PromotionUsageRow row)
Parameters
Type Name Description
PromotionUsageDto.PromotionUsageRow row

AddPromotionUsageRow(Int32, Guid, Int32, Int32, Int32, DateTime)

Declaration
public PromotionUsageDto.PromotionUsageRow AddPromotionUsageRow(int OrderGroupId, Guid CustomerId, int PromotionId, int Version, int Status, DateTime LastUpdated)
Parameters
Type Name Description
System.Int32 OrderGroupId
System.Guid CustomerId
System.Int32 PromotionId
System.Int32 Version
System.Int32 Status
System.DateTime LastUpdated
Returns
Type Description
PromotionUsageDto.PromotionUsageRow

Clone()

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

CreateInstance()

Declaration
protected override DataTable CreateInstance()
Returns
Type Description
System.Data.DataTable

FindByPromotionUsageId(Int32)

Declaration
public PromotionUsageDto.PromotionUsageRow FindByPromotionUsageId(int PromotionUsageId)
Parameters
Type Name Description
System.Int32 PromotionUsageId
Returns
Type Description
PromotionUsageDto.PromotionUsageRow

GetRowType()

Declaration
protected override Type GetRowType()
Returns
Type Description
System.Type

GetTypedTableSchema(XmlSchemaSet)

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

NewPromotionUsageRow()

Declaration
public PromotionUsageDto.PromotionUsageRow NewPromotionUsageRow()
Returns
Type Description
PromotionUsageDto.PromotionUsageRow

NewRowFromBuilder(DataRowBuilder)

Declaration
protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
Parameters
Type Name Description
System.Data.DataRowBuilder builder
Returns
Type Description
System.Data.DataRow

OnRowChanged(DataRowChangeEventArgs)

Declaration
protected override void OnRowChanged(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowChanging(DataRowChangeEventArgs)

Declaration
protected override void OnRowChanging(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowDeleted(DataRowChangeEventArgs)

Declaration
protected override void OnRowDeleted(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowDeleting(DataRowChangeEventArgs)

Declaration
protected override void OnRowDeleting(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

RemovePromotionUsageRow(PromotionUsageDto.PromotionUsageRow)

Declaration
public void RemovePromotionUsageRow(PromotionUsageDto.PromotionUsageRow row)
Parameters
Type Name Description
PromotionUsageDto.PromotionUsageRow row

Events

PromotionUsageRowChanged

Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowChanged
Event Type
Type Description
PromotionUsageDto.PromotionUsageRowChangeEventHandler

PromotionUsageRowChanging

Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowChanging
Event Type
Type Description
PromotionUsageDto.PromotionUsageRowChangeEventHandler

PromotionUsageRowDeleted

Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowDeleted
Event Type
Type Description
PromotionUsageDto.PromotionUsageRowChangeEventHandler

PromotionUsageRowDeleting

Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowDeleting
Event Type
Type Description
PromotionUsageDto.PromotionUsageRowChangeEventHandler