Class CatalogEntryDto.InventoryDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
CatalogEntryDto.InventoryDataTable
Namespace: Mediachase.Commerce.Catalog.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("This class is no longer used. To populate inventory data, use InventoryService instead. Will remain at least until May 2016.")]
public class InventoryDataTable : TypedTableBase<CatalogEntryDto.InventoryRow>

Constructors

InventoryDataTable()

Declaration
public InventoryDataTable()

InventoryDataTable(SerializationInfo, StreamingContext)

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

Properties

AllowBackorderColumn

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

AllowPreorderColumn

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

ApplicationIdColumn

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

BackorderAvailabilityDateColumn

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

BackorderQuantityColumn

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

Count

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

InStockQuantityColumn

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

InventoryStatusColumn

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

Item[Int32]

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

PreorderAvailabilityDateColumn

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

PreorderQuantityColumn

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

ReorderMinQuantityColumn

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

ReservedQuantityColumn

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

SkuIdColumn

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

Methods

AddInventoryRow(CatalogEntryDto.InventoryRow)

Declaration
public void AddInventoryRow(CatalogEntryDto.InventoryRow row)
Parameters
Type Name Description
CatalogEntryDto.InventoryRow row

AddInventoryRow(String, Decimal, Decimal, Decimal, Decimal, Decimal, Boolean, Boolean, Int32, DateTime, DateTime, Guid)

Declaration
public CatalogEntryDto.InventoryRow AddInventoryRow(string SkuId, decimal InStockQuantity, decimal ReservedQuantity, decimal ReorderMinQuantity, decimal PreorderQuantity, decimal BackorderQuantity, bool AllowBackorder, bool AllowPreorder, int InventoryStatus, DateTime PreorderAvailabilityDate, DateTime BackorderAvailabilityDate, Guid ApplicationId)
Parameters
Type Name Description
System.String SkuId
System.Decimal InStockQuantity
System.Decimal ReservedQuantity
System.Decimal ReorderMinQuantity
System.Decimal PreorderQuantity
System.Decimal BackorderQuantity
System.Boolean AllowBackorder
System.Boolean AllowPreorder
System.Int32 InventoryStatus
System.DateTime PreorderAvailabilityDate
System.DateTime BackorderAvailabilityDate
System.Guid ApplicationId
Returns
Type Description
CatalogEntryDto.InventoryRow

Clone()

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

CreateInstance()

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

FindBySkuIdApplicationId(String, Guid)

Declaration
public CatalogEntryDto.InventoryRow FindBySkuIdApplicationId(string SkuId, Guid ApplicationId)
Parameters
Type Name Description
System.String SkuId
System.Guid ApplicationId
Returns
Type Description
CatalogEntryDto.InventoryRow

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

NewInventoryRow()

Declaration
public CatalogEntryDto.InventoryRow NewInventoryRow()
Returns
Type Description
CatalogEntryDto.InventoryRow

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

RemoveInventoryRow(CatalogEntryDto.InventoryRow)

Declaration
public void RemoveInventoryRow(CatalogEntryDto.InventoryRow row)
Parameters
Type Name Description
CatalogEntryDto.InventoryRow row

Events

InventoryRowChanged

Declaration
public event CatalogEntryDto.InventoryRowChangeEventHandler InventoryRowChanged
Event Type
Type Description
CatalogEntryDto.InventoryRowChangeEventHandler

InventoryRowChanging

Declaration
public event CatalogEntryDto.InventoryRowChangeEventHandler InventoryRowChanging
Event Type
Type Description
CatalogEntryDto.InventoryRowChangeEventHandler

InventoryRowDeleted

Declaration
public event CatalogEntryDto.InventoryRowChangeEventHandler InventoryRowDeleted
Event Type
Type Description
CatalogEntryDto.InventoryRowChangeEventHandler

InventoryRowDeleting

Declaration
public event CatalogEntryDto.InventoryRowChangeEventHandler InventoryRowDeleting
Event Type
Type Description
CatalogEntryDto.InventoryRowChangeEventHandler