Class CatalogEntryDto.VariationDataTable

Partial class, adding missing methods for VariationDataTable to avoid breaking changes.

Inheritance
System.Object
CatalogEntryDto.VariationDataTable
Namespace: Mediachase.Commerce.Catalog.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class VariationDataTable : TypedTableBase<CatalogEntryDto.VariationRow>

Constructors

VariationDataTable()

Declaration
public VariationDataTable()

VariationDataTable(SerializationInfo, StreamingContext)

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

Properties

CatalogEntryIdColumn

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

Count

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

HeightColumn

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

Item[Int32]

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

LengthColumn

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

ListPriceColumn

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

MaxQuantityColumn

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

MerchantIdColumn

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

MinQuantityColumn

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

PackageIdColumn

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

TaxCategoryIdColumn

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

TrackInventoryColumn

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

WarehouseIdColumn

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

WeightColumn

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

WidthColumn

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

Methods

AddVariationRow(CatalogEntryDto.CatalogEntryRow, Decimal, Int32, Boolean, Guid, Int32, Double, Int32, Decimal, Decimal)

Declaration
public CatalogEntryDto.VariationRow AddVariationRow(CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_Variation_CatalogEntry, decimal ListPrice, int TaxCategoryId, bool TrackInventory, Guid MerchantId, int WarehouseId, double Weight, int PackageId, decimal MinQuantity, decimal MaxQuantity)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_Variation_CatalogEntry
System.Decimal ListPrice
System.Int32 TaxCategoryId
System.Boolean TrackInventory
System.Guid MerchantId
System.Int32 WarehouseId
System.Double Weight
System.Int32 PackageId
System.Decimal MinQuantity
System.Decimal MaxQuantity
Returns
Type Description
CatalogEntryDto.VariationRow

AddVariationRow(CatalogEntryDto.CatalogEntryRow, Decimal, Int32, Boolean, Guid, Int32, Double, Int32, Decimal, Decimal, Double, Double, Double)

Declaration
public CatalogEntryDto.VariationRow AddVariationRow(CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_Variation_CatalogEntry, decimal ListPrice, int TaxCategoryId, bool TrackInventory, Guid MerchantId, int WarehouseId, double Weight, int PackageId, decimal MinQuantity, decimal MaxQuantity, double Length, double Height, double Width)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow parentCatalogEntryRowByFK_Variation_CatalogEntry
System.Decimal ListPrice
System.Int32 TaxCategoryId
System.Boolean TrackInventory
System.Guid MerchantId
System.Int32 WarehouseId
System.Double Weight
System.Int32 PackageId
System.Decimal MinQuantity
System.Decimal MaxQuantity
System.Double Length
System.Double Height
System.Double Width
Returns
Type Description
CatalogEntryDto.VariationRow

AddVariationRow(CatalogEntryDto.VariationRow)

Declaration
public void AddVariationRow(CatalogEntryDto.VariationRow row)
Parameters
Type Name Description
CatalogEntryDto.VariationRow 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

FindByCatalogEntryId(Int32)

Declaration
public CatalogEntryDto.VariationRow FindByCatalogEntryId(int CatalogEntryId)
Parameters
Type Name Description
System.Int32 CatalogEntryId
Returns
Type Description
CatalogEntryDto.VariationRow

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

NewVariationRow()

Declaration
public CatalogEntryDto.VariationRow NewVariationRow()
Returns
Type Description
CatalogEntryDto.VariationRow

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

RemoveVariationRow(CatalogEntryDto.VariationRow)

Declaration
public void RemoveVariationRow(CatalogEntryDto.VariationRow row)
Parameters
Type Name Description
CatalogEntryDto.VariationRow row

Events

VariationRowChanged

Declaration
public event CatalogEntryDto.VariationRowChangeEventHandler VariationRowChanged
Event Type
Type Description
CatalogEntryDto.VariationRowChangeEventHandler

VariationRowChanging

Declaration
public event CatalogEntryDto.VariationRowChangeEventHandler VariationRowChanging
Event Type
Type Description
CatalogEntryDto.VariationRowChangeEventHandler

VariationRowDeleted

Declaration
public event CatalogEntryDto.VariationRowChangeEventHandler VariationRowDeleted
Event Type
Type Description
CatalogEntryDto.VariationRowChangeEventHandler

VariationRowDeleting

Declaration
public event CatalogEntryDto.VariationRowChangeEventHandler VariationRowDeleting
Event Type
Type Description
CatalogEntryDto.VariationRowChangeEventHandler