Show / Hide Table of Contents

Class ColumnMappedDataTable<T>

Class implements column mapped data table for bulk copy

Inheritance
System.Object
TypedDataTableBase<T>
ColumnMappedDataTable<T>
Inherited Members
TypedDataTableBase<T>.Add(T)
Namespace: MESL.SqlRace.Domain.Infrastructure.DataAccess
Assembly: MESL.SqlRace.Domain.dll
Syntax
public abstract class ColumnMappedDataTable<T> : TypedDataTableBase<T>
Type Parameters
Name Description
T

The type of the table rows

Constructors

ColumnMappedDataTable(String, Int32)

Initialises a new instance of the ColumnMappedDataTable<T> class.

Declaration
protected ColumnMappedDataTable(string name, int capacity)
Parameters
Type Name Description
System.String name

The table name.

System.Int32 capacity

The capacity.

Properties

ColumnMappings

Gets the column mappings. These mappings associate data table columns with the appropriate database column

Declaration
public List<KeyValuePair<int, int>> ColumnMappings { get; }
Property Value
Type Description
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.Int32, System.Int32>>

Methods

AddColumnMapping(Int32, ColumnNameType)

Adds the column mapping.

Declaration
protected void AddColumnMapping(int databaseColumnIndex, ColumnNameType column)
Parameters
Type Name Description
System.Int32 databaseColumnIndex

Index of the database column.

ColumnNameType column

The column.

Back to top Generated by DocFX