Class CountryDto.CountryDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
CountryDto.CountryDataTable
Namespace: Mediachase.Commerce.Orders.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CountryDataTable : TypedTableBase<CountryDto.CountryRow>

Constructors

CountryDataTable()

Declaration
public CountryDataTable()

CountryDataTable(SerializationInfo, StreamingContext)

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

CodeColumn

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

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.CountryRow this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
CountryDto.CountryRow

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

VisibleColumn

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

Methods

AddCountryRow(CountryDto.CountryRow)

Declaration
public void AddCountryRow(CountryDto.CountryRow row)
Parameters
Type Name Description
CountryDto.CountryRow row

AddCountryRow(String, Int32, Boolean, String, Guid)

Declaration
public CountryDto.CountryRow AddCountryRow(string Name, int Ordering, bool Visible, string Code, Guid ApplicationId)
Parameters
Type Name Description
System.String Name
System.Int32 Ordering
System.Boolean Visible
System.String Code
System.Guid ApplicationId
Returns
Type Description
CountryDto.CountryRow

Clone()

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

CreateInstance()

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

FindByCountryId(Int32)

Declaration
public CountryDto.CountryRow FindByCountryId(int CountryId)
Parameters
Type Name Description
System.Int32 CountryId
Returns
Type Description
CountryDto.CountryRow

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

NewCountryRow()

Declaration
public CountryDto.CountryRow NewCountryRow()
Returns
Type Description
CountryDto.CountryRow

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

RemoveCountryRow(CountryDto.CountryRow)

Declaration
public void RemoveCountryRow(CountryDto.CountryRow row)
Parameters
Type Name Description
CountryDto.CountryRow row

Events

CountryRowChanged

Declaration
public event CountryDto.CountryRowChangeEventHandler CountryRowChanged
Event Type
Type Description
CountryDto.CountryRowChangeEventHandler

CountryRowChanging

Declaration
public event CountryDto.CountryRowChangeEventHandler CountryRowChanging
Event Type
Type Description
CountryDto.CountryRowChangeEventHandler

CountryRowDeleted

Declaration
public event CountryDto.CountryRowChangeEventHandler CountryRowDeleted
Event Type
Type Description
CountryDto.CountryRowChangeEventHandler

CountryRowDeleting

Declaration
public event CountryDto.CountryRowChangeEventHandler CountryRowDeleting
Event Type
Type Description
CountryDto.CountryRowChangeEventHandler