Class PromotionDto.PromotionDataTable
Represents the strongly named DataTable class.
Inheritance
System.Object
PromotionDto.PromotionDataTable
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
public class PromotionDataTable : TypedTableBase<PromotionDto.PromotionRow>
Constructors
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
Declaration
public DataColumn ApplicationIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn ApplicationLimitColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn CampaignIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public DataColumn CouponCodeColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn CreatedColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn CustomerLimitColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn EndDateColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn ExclusivityTypeColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public PromotionDto.PromotionRow this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
MaxEntryDiscountQuantityColumn
Declaration
public DataColumn MaxEntryDiscountQuantityColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn ModifiedByColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn ModifiedColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn NameColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn OfferAmountColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn OfferTypeColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn ParamsColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PerOrderLimitColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PriorityColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PromotionGroupColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PromotionIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PromotionTypeColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn StartDateColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn StatusColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Methods
Declaration
public void AddPromotionRow(PromotionDto.PromotionRow row)
Parameters
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
Declaration
public override DataTable Clone()
Returns
Type |
Description |
System.Data.DataTable |
|
Declaration
protected override DataTable CreateInstance()
Returns
Type |
Description |
System.Data.DataTable |
|
Declaration
public PromotionDto.PromotionRow FindByPromotionId(int PromotionId)
Parameters
Type |
Name |
Description |
System.Int32 |
PromotionId |
|
Returns
Declaration
protected override Type GetRowType()
Returns
Type |
Description |
System.Type |
|
Declaration
public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
Parameters
Type |
Name |
Description |
System.Xml.Schema.XmlSchemaSet |
xs |
|
Returns
Type |
Description |
System.Xml.Schema.XmlSchemaComplexType |
|
Declaration
public PromotionDto.PromotionRow NewPromotionRow()
Returns
Declaration
protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
Parameters
Type |
Name |
Description |
System.Data.DataRowBuilder |
builder |
|
Returns
Type |
Description |
System.Data.DataRow |
|
Declaration
protected override void OnRowChanged(DataRowChangeEventArgs e)
Parameters
Type |
Name |
Description |
System.Data.DataRowChangeEventArgs |
e |
|
Declaration
protected override void OnRowChanging(DataRowChangeEventArgs e)
Parameters
Type |
Name |
Description |
System.Data.DataRowChangeEventArgs |
e |
|
Declaration
protected override void OnRowDeleted(DataRowChangeEventArgs e)
Parameters
Type |
Name |
Description |
System.Data.DataRowChangeEventArgs |
e |
|
Declaration
protected override void OnRowDeleting(DataRowChangeEventArgs e)
Parameters
Type |
Name |
Description |
System.Data.DataRowChangeEventArgs |
e |
|
Declaration
public void RemovePromotionRow(PromotionDto.PromotionRow row)
Parameters
Events
Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowChanged
Event Type
Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowChanging
Event Type
Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowDeleted
Event Type
Declaration
public event PromotionDto.PromotionRowChangeEventHandler PromotionRowDeleting
Event Type