Class PromotionDto.PromotionDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
PromotionDto.PromotionDataTable
Namespace: Mediachase.Commerce.Marketing.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class PromotionDataTable : TypedTableBase<PromotionDto.PromotionRow>

Constructors

PromotionDataTable()

Declaration
public PromotionDataTable()

PromotionDataTable(SerializationInfo, StreamingContext)

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

Properties

ApplicationIdColumn

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

ApplicationLimitColumn

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

CampaignIdColumn

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

Count

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

CouponCodeColumn

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

CreatedColumn

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

CustomerLimitColumn

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

EndDateColumn

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

ExclusivityTypeColumn

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

Item[Int32]

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

MaxEntryDiscountQuantityColumn

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

ModifiedByColumn

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

ModifiedColumn

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

NameColumn

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

OfferAmountColumn

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

OfferTypeColumn

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

ParamsColumn

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

PerOrderLimitColumn

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

PriorityColumn

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

PromotionGroupColumn

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

PromotionIdColumn

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

PromotionTypeColumn

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

StartDateColumn

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

StatusColumn

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

Methods

AddPromotionRow(PromotionDto.PromotionRow)

Declaration
public void AddPromotionRow(PromotionDto.PromotionRow row)
Parameters
Type Name Description
PromotionDto.PromotionRow row

AddPromotionRow(String, Guid, String, DateTime, DateTime, String, Decimal, Int32, String, Int32, String, Int32, DateTime, DateTime, String, String, Int32, Int32, Byte[], Int32, Decimal)

Declaration
public PromotionDto.PromotionRow AddPromotionRow(string Name, Guid ApplicationId, string Status, DateTime StartDate, DateTime EndDate, string CouponCode, decimal OfferAmount, int OfferType, string PromotionGroup, int CampaignId, string ExclusivityType, int Priority, DateTime Created, DateTime Modified, string ModifiedBy, string PromotionType, int PerOrderLimit, int ApplicationLimit, byte[] Params, int CustomerLimit, decimal MaxEntryDiscountQuantity)
Parameters
Type Name Description
System.String Name
System.Guid ApplicationId
System.String Status
System.DateTime StartDate
System.DateTime EndDate
System.String CouponCode
System.Decimal OfferAmount
System.Int32 OfferType
System.String PromotionGroup
System.Int32 CampaignId
System.String ExclusivityType
System.Int32 Priority
System.DateTime Created
System.DateTime Modified
System.String ModifiedBy
System.String PromotionType
System.Int32 PerOrderLimit
System.Int32 ApplicationLimit
System.Byte[] Params
System.Int32 CustomerLimit
System.Decimal MaxEntryDiscountQuantity
Returns
Type Description
PromotionDto.PromotionRow

Clone()

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

CreateInstance()

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

FindByPromotionId(Int32)

Declaration
public PromotionDto.PromotionRow FindByPromotionId(int PromotionId)
Parameters
Type Name Description
System.Int32 PromotionId
Returns
Type Description
PromotionDto.PromotionRow

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

NewPromotionRow()

Declaration
public PromotionDto.PromotionRow NewPromotionRow()
Returns
Type Description
PromotionDto.PromotionRow

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

RemovePromotionRow(PromotionDto.PromotionRow)

Declaration
public void RemovePromotionRow(PromotionDto.PromotionRow row)
Parameters
Type Name Description
PromotionDto.PromotionRow row

Events

PromotionRowChanged

Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowChanged
Event Type
Type Description
PromotionDto.PromotionRowChangeEventHandler

PromotionRowChanging

Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowChanging
Event Type
Type Description
PromotionDto.PromotionRowChangeEventHandler

PromotionRowDeleted

Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowDeleted
Event Type
Type Description
PromotionDto.PromotionRowChangeEventHandler

PromotionRowDeleting

Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowDeleting
Event Type
Type Description
PromotionDto.PromotionRowChangeEventHandler