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

Class CountryDto.StateProvinceDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
CountryDto.StateProvinceDataTable
Namespace: Mediachase.Commerce.Orders.Dto
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public class StateProvinceDataTable : TypedTableBase<CountryDto.StateProvinceRow>

Constructors

StateProvinceDataTable()

Declaration
public StateProvinceDataTable()

StateProvinceDataTable(SerializationInfo, StreamingContext)

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

CountryIdColumn

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

Item[Int32]

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

NameColumn

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

OrderingColumn

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

StateProvinceIdColumn

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

VisibleColumn

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

Methods

AddStateProvinceRow(CountryDto.StateProvinceRow)

Declaration
public void AddStateProvinceRow(CountryDto.StateProvinceRow row)
Parameters
Type Name Description
CountryDto.StateProvinceRow row

AddStateProvinceRow(String, Int32, Boolean, CountryDto.CountryRow)

Declaration
public CountryDto.StateProvinceRow AddStateProvinceRow(string Name, int Ordering, bool Visible, CountryDto.CountryRow parentCountryRowByFK_StateProvince_Country)
Parameters
Type Name Description
System.String Name
System.Int32 Ordering
System.Boolean Visible
CountryDto.CountryRow parentCountryRowByFK_StateProvince_Country
Returns
Type Description
CountryDto.StateProvinceRow

Clone()

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

CreateInstance()

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

FindByStateProvinceId(Int32)

Declaration
public CountryDto.StateProvinceRow FindByStateProvinceId(int StateProvinceId)
Parameters
Type Name Description
System.Int32 StateProvinceId
Returns
Type Description
CountryDto.StateProvinceRow

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

NewStateProvinceRow()

Declaration
public CountryDto.StateProvinceRow NewStateProvinceRow()
Returns
Type Description
CountryDto.StateProvinceRow

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

RemoveStateProvinceRow(CountryDto.StateProvinceRow)

Declaration
public void RemoveStateProvinceRow(CountryDto.StateProvinceRow row)
Parameters
Type Name Description
CountryDto.StateProvinceRow row

Events

StateProvinceRowChanged

Declaration
public event CountryDto.StateProvinceRowChangeEventHandler StateProvinceRowChanged
Event Type
Type Description
CountryDto.StateProvinceRowChangeEventHandler

StateProvinceRowChanging

Declaration
public event CountryDto.StateProvinceRowChangeEventHandler StateProvinceRowChanging
Event Type
Type Description
CountryDto.StateProvinceRowChangeEventHandler

StateProvinceRowDeleted

Declaration
public event CountryDto.StateProvinceRowChangeEventHandler StateProvinceRowDeleted
Event Type
Type Description
CountryDto.StateProvinceRowChangeEventHandler

StateProvinceRowDeleting

Declaration
public event CountryDto.StateProvinceRowChangeEventHandler StateProvinceRowDeleting
Event Type
Type Description
CountryDto.StateProvinceRowChangeEventHandler