Class MarketDto.MarketDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
MarketDto.MarketDataTable
Namespace: Mediachase.Commerce.Markets.Database
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class MarketDataTable : TypedTableBase<MarketDto.MarketRow>

Constructors

MarketDataTable()

Declaration
public MarketDataTable()

MarketDataTable(SerializationInfo, StreamingContext)

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

CreatedColumn

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

DefaultCurrencyCodeColumn

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

DefaultLanguageCodeColumn

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

IsEnabledColumn

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

Item[Int32]

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

MarketDescriptionColumn

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

MarketIdColumn

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

MarketNameColumn

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

ModifiedColumn

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

Methods

AddMarketRow(MarketDto.MarketRow)

Declaration
public void AddMarketRow(MarketDto.MarketRow row)
Parameters
Type Name Description
MarketDto.MarketRow row

AddMarketRow(String, DateTime, DateTime, Boolean, String, String, String, String)

Declaration
public MarketDto.MarketRow AddMarketRow(string MarketId, DateTime Created, DateTime Modified, bool IsEnabled, string MarketName, string MarketDescription, string DefaultCurrencyCode, string DefaultLanguageCode)
Parameters
Type Name Description
System.String MarketId
System.DateTime Created
System.DateTime Modified
System.Boolean IsEnabled
System.String MarketName
System.String MarketDescription
System.String DefaultCurrencyCode
System.String DefaultLanguageCode
Returns
Type Description
MarketDto.MarketRow

Clone()

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

CreateInstance()

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

FindByMarketId(String)

Declaration
public MarketDto.MarketRow FindByMarketId(string MarketId)
Parameters
Type Name Description
System.String MarketId
Returns
Type Description
MarketDto.MarketRow

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

NewMarketRow()

Declaration
public MarketDto.MarketRow NewMarketRow()
Returns
Type Description
MarketDto.MarketRow

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

RemoveMarketRow(MarketDto.MarketRow)

Declaration
public void RemoveMarketRow(MarketDto.MarketRow row)
Parameters
Type Name Description
MarketDto.MarketRow row

Events

MarketRowChanged

Declaration
public event MarketDto.MarketRowChangeEventHandler MarketRowChanged
Event Type
Type Description
MarketDto.MarketRowChangeEventHandler

MarketRowChanging

Declaration
public event MarketDto.MarketRowChangeEventHandler MarketRowChanging
Event Type
Type Description
MarketDto.MarketRowChangeEventHandler

MarketRowDeleted

Declaration
public event MarketDto.MarketRowChangeEventHandler MarketRowDeleted
Event Type
Type Description
MarketDto.MarketRowChangeEventHandler

MarketRowDeleting

Declaration
public event MarketDto.MarketRowChangeEventHandler MarketRowDeleting
Event Type
Type Description
MarketDto.MarketRowChangeEventHandler