Class ShippingMethodDto.PackageDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
ShippingMethodDto.PackageDataTable
Namespace: Mediachase.Commerce.Orders.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class PackageDataTable : TypedTableBase<ShippingMethodDto.PackageRow>

Constructors

PackageDataTable()

Declaration
public PackageDataTable()

PackageDataTable(SerializationInfo, StreamingContext)

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

Properties

ApplicationIdColumn

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

Count

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

DescriptionColumn

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

HeightColumn

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

Item[Int32]

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

LengthColumn

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

NameColumn

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

PackageIdColumn

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

WidthColumn

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

Methods

AddPackageRow(ShippingMethodDto.PackageRow)

Declaration
public void AddPackageRow(ShippingMethodDto.PackageRow row)
Parameters
Type Name Description
ShippingMethodDto.PackageRow row

AddPackageRow(String, String, Double, Double, Double, Guid)

Declaration
public ShippingMethodDto.PackageRow AddPackageRow(string Name, string Description, double Width, double Height, double Length, Guid ApplicationId)
Parameters
Type Name Description
System.String Name
System.String Description
System.Double Width
System.Double Height
System.Double Length
System.Guid ApplicationId
Returns
Type Description
ShippingMethodDto.PackageRow

Clone()

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

CreateInstance()

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

FindByPackageId(Int32)

Declaration
public ShippingMethodDto.PackageRow FindByPackageId(int PackageId)
Parameters
Type Name Description
System.Int32 PackageId
Returns
Type Description
ShippingMethodDto.PackageRow

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

NewPackageRow()

Declaration
public ShippingMethodDto.PackageRow NewPackageRow()
Returns
Type Description
ShippingMethodDto.PackageRow

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

RemovePackageRow(ShippingMethodDto.PackageRow)

Declaration
public void RemovePackageRow(ShippingMethodDto.PackageRow row)
Parameters
Type Name Description
ShippingMethodDto.PackageRow row

Events

PackageRowChanged

Declaration
public event ShippingMethodDto.PackageRowChangeEventHandler PackageRowChanged
Event Type
Type Description
ShippingMethodDto.PackageRowChangeEventHandler

PackageRowChanging

Declaration
public event ShippingMethodDto.PackageRowChangeEventHandler PackageRowChanging
Event Type
Type Description
ShippingMethodDto.PackageRowChangeEventHandler

PackageRowDeleted

Declaration
public event ShippingMethodDto.PackageRowChangeEventHandler PackageRowDeleted
Event Type
Type Description
ShippingMethodDto.PackageRowChangeEventHandler

PackageRowDeleting

Declaration
public event ShippingMethodDto.PackageRowChangeEventHandler PackageRowDeleting
Event Type
Type Description
ShippingMethodDto.PackageRowChangeEventHandler