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

Class CatalogEntryDto.SalePriceDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
CatalogEntryDto.SalePriceDataTable
Namespace: Mediachase.Commerce.Catalog.Dto
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public class SalePriceDataTable : TypedTableBase<CatalogEntryDto.SalePriceRow>

Constructors

SalePriceDataTable()

Declaration
public SalePriceDataTable()

SalePriceDataTable(SerializationInfo, StreamingContext)

Declaration
protected SalePriceDataTable(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

CurrencyColumn

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

EndDateColumn

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

Item[Int32]

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

ItemCodeColumn

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

MinQuantityColumn

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

SaleCodeColumn

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

SalePriceIdColumn

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

SaleTypeColumn

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

StartDateColumn

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

UnitPriceColumn

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

Methods

AddSalePriceRow(CatalogEntryDto.CatalogEntryRow, Int32, String, DateTime, String, Decimal, Decimal, DateTime)

Declaration
public CatalogEntryDto.SalePriceRow AddSalePriceRow(CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_CatalogEntry_SalePrice, int SaleType, string SaleCode, DateTime StartDate, string Currency, decimal MinQuantity, decimal UnitPrice, DateTime EndDate)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_CatalogEntry_SalePrice
System.Int32 SaleType
System.String SaleCode
System.DateTime StartDate
System.String Currency
System.Decimal MinQuantity
System.Decimal UnitPrice
System.DateTime EndDate
Returns
Type Description
CatalogEntryDto.SalePriceRow

AddSalePriceRow(CatalogEntryDto.SalePriceRow)

Declaration
public void AddSalePriceRow(CatalogEntryDto.SalePriceRow row)
Parameters
Type Name Description
CatalogEntryDto.SalePriceRow row

Clone()

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

CreateInstance()

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

FindBySalePriceId(Int32)

Declaration
public CatalogEntryDto.SalePriceRow FindBySalePriceId(int SalePriceId)
Parameters
Type Name Description
System.Int32 SalePriceId
Returns
Type Description
CatalogEntryDto.SalePriceRow

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

NewRowFromBuilder(DataRowBuilder)

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

NewSalePriceRow()

Declaration
public CatalogEntryDto.SalePriceRow NewSalePriceRow()
Returns
Type Description
CatalogEntryDto.SalePriceRow

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

RemoveSalePriceRow(CatalogEntryDto.SalePriceRow)

Declaration
public void RemoveSalePriceRow(CatalogEntryDto.SalePriceRow row)
Parameters
Type Name Description
CatalogEntryDto.SalePriceRow row

Events

SalePriceRowChanged

Declaration
public event CatalogEntryDto.SalePriceRowChangeEventHandler SalePriceRowChanged
Event Type
Type Description
CatalogEntryDto.SalePriceRowChangeEventHandler

SalePriceRowChanging

Declaration
public event CatalogEntryDto.SalePriceRowChangeEventHandler SalePriceRowChanging
Event Type
Type Description
CatalogEntryDto.SalePriceRowChangeEventHandler

SalePriceRowDeleted

Declaration
public event CatalogEntryDto.SalePriceRowChangeEventHandler SalePriceRowDeleted
Event Type
Type Description
CatalogEntryDto.SalePriceRowChangeEventHandler

SalePriceRowDeleting

Declaration
public event CatalogEntryDto.SalePriceRowChangeEventHandler SalePriceRowDeleting
Event Type
Type Description
CatalogEntryDto.SalePriceRowChangeEventHandler