Class PromotionUsageDto.PromotionUsageDataTable
Represents the strongly named DataTable class.
Inheritance
System.Object
PromotionUsageDto.PromotionUsageDataTable
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
public class PromotionUsageDataTable : TypedTableBase<PromotionUsageDto.PromotionUsageRow>
Constructors
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
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public DataColumn CustomerIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public PromotionUsageDto.PromotionUsageRow this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Declaration
public DataColumn LastUpdatedColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn OrderGroupIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PromotionIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn PromotionUsageIdColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn StatusColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Declaration
public DataColumn VersionColumn { get; }
Property Value
Type |
Description |
System.Data.DataColumn |
|
Methods
Declaration
public void AddPromotionUsageRow(PromotionUsageDto.PromotionUsageRow row)
Parameters
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
Declaration
public override DataTable Clone()
Returns
Type |
Description |
System.Data.DataTable |
|
Declaration
protected override DataTable CreateInstance()
Returns
Type |
Description |
System.Data.DataTable |
|
Declaration
public PromotionUsageDto.PromotionUsageRow FindByPromotionUsageId(int PromotionUsageId)
Parameters
Type |
Name |
Description |
System.Int32 |
PromotionUsageId |
|
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 PromotionUsageDto.PromotionUsageRow NewPromotionUsageRow()
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 RemovePromotionUsageRow(PromotionUsageDto.PromotionUsageRow row)
Parameters
Events
Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowChanged
Event Type
Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowChanging
Event Type
Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowDeleted
Event Type
Declaration
public event PromotionUsageDto.PromotionUsageRowChangeEventHandler PromotionUsageRowDeleting
Event Type