Table of Contents

Class BasicColumnMapping<TEntity>

Namespace
Z.BulkOperations
Assembly
Z.EntityFramework.Extensions.dll

A column mapping.

public class BasicColumnMapping<TEntity>

Type Parameters

TEntity

Type of the entity.

Inheritance
BasicColumnMapping<TEntity>
Inherited Members

Constructors

BasicColumnMapping()

Inherit constructor.

public BasicColumnMapping()

BasicColumnMapping(int, int)

Constructor.

public BasicColumnMapping(int sourceOrdinal, int destinationOrdinal)

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

BasicColumnMapping(int, int, bool)

Constructor.

public BasicColumnMapping(int sourceOrdinal, int destinationOrdinal, bool isPrimaryKey)

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

isPrimaryKey bool

true if this object is primary key, false if not.

BasicColumnMapping(int, int, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(int sourceOrdinal, int destinationOrdinal, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

isPrimaryKey bool

true if this object is primary key, false if not.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(int, int, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(int sourceOrdinal, int destinationOrdinal, ColumnMappingDirectionType direction)

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(int, string)

Constructor.

public BasicColumnMapping(int sourceOrdinal, string destinationName)

Parameters

sourceOrdinal int

Source ordinal.

destinationName string

Name of the destination.

BasicColumnMapping(Expression<Func<TEntity, object>>)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> columnExpression)

Parameters

columnExpression Expression<Func<TEntity, object>>

BasicColumnMapping(Expression<Func<TEntity, object>>, bool)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> columnExpression, bool isPrimaryKey)

Parameters

columnExpression Expression<Func<TEntity, object>>
isPrimaryKey bool

BasicColumnMapping(Expression<Func<TEntity, object>>, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> columnExpression, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

columnExpression Expression<Func<TEntity, object>>
isPrimaryKey bool
direction ColumnMappingDirectionType

BasicColumnMapping(Expression<Func<TEntity, object>>, int)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, int destinationOrdinal)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationOrdinal int

Destination ordinal.

BasicColumnMapping(Expression<Func<TEntity, object>>, int, bool)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, int destinationOrdinal, bool isPrimaryKey)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationOrdinal int

Destination ordinal.

isPrimaryKey bool

true if this object is primary key.

BasicColumnMapping(Expression<Func<TEntity, object>>, int, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, int destinationOrdinal, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationOrdinal int

Destination ordinal.

isPrimaryKey bool

true if this object is primary key.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(Expression<Func<TEntity, object>>, int, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, int destinationOrdinal, ColumnMappingDirectionType direction)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationOrdinal int

Destination ordinal.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(Expression<Func<TEntity, object>>, string)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, string destinationName)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationName string

Name of the destination.

BasicColumnMapping(Expression<Func<TEntity, object>>, string, bool)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, string destinationName, bool isPrimaryKey)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationName string

Name of the destination.

isPrimaryKey bool

true if this object is primary key.

BasicColumnMapping(Expression<Func<TEntity, object>>, string, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, string destinationName, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationName string

Name of the destination.

isPrimaryKey bool

true if this object is primary key.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(Expression<Func<TEntity, object>>, string, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> sourceExpression, string destinationName, ColumnMappingDirectionType direction)

Parameters

sourceExpression Expression<Func<TEntity, object>>

Source expression.

destinationName string

Name of the destination.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(Expression<Func<TEntity, object>>, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(Expression<Func<TEntity, object>> columnExpression, ColumnMappingDirectionType direction)

Parameters

columnExpression Expression<Func<TEntity, object>>
direction ColumnMappingDirectionType

BasicColumnMapping(string)

Constructor.

public BasicColumnMapping(string columnName)

Parameters

columnName string

Name of the column.

BasicColumnMapping(string, bool)

Constructor.

public BasicColumnMapping(string columnName, bool isPrimaryKey)

Parameters

columnName string

Name of the column.

isPrimaryKey bool

true if this object is primary key, false if not.

BasicColumnMapping(string, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(string columnName, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

columnName string

Name of the column.

isPrimaryKey bool

true if this object is primary key, false if not.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(string, int)

Constructor.

public BasicColumnMapping(string sourceName, int destinationOrdinal)

Parameters

sourceName string

Name of the source.

destinationOrdinal int

Destination ordinal.

BasicColumnMapping(string, string)

Constructor.

public BasicColumnMapping(string sourceName, string destinationName)

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

BasicColumnMapping(string, string, bool)

Constructor.

public BasicColumnMapping(string sourceName, string destinationName, bool isPrimaryKey)

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

isPrimaryKey bool

true if this object is primary key, false if not.

BasicColumnMapping(string, string, bool, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(string sourceName, string destinationName, bool isPrimaryKey, ColumnMappingDirectionType direction)

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

isPrimaryKey bool

true if this object is primary key, false if not.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(string, string, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(string sourceName, string destinationName, ColumnMappingDirectionType direction)

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

direction ColumnMappingDirectionType

The direction.

BasicColumnMapping(string, ColumnMappingDirectionType)

Constructor.

public BasicColumnMapping(string columnName, ColumnMappingDirectionType direction)

Parameters

columnName string

Name of the column.

direction ColumnMappingDirectionType

The direction.

Properties

Advanced

Gets the advanced.

public ColumnMapping<TEntity> Advanced { get; }

Property Value

ColumnMapping<TEntity>

The advanced.

DestinationExpression

Gets or sets destination expression.

public Expression<Func<TEntity, object>> DestinationExpression { get; set; }

Property Value

Expression<Func<TEntity, object>>

The destination expression.

DestinationName

Gets or sets the name of the destination.

public string DestinationName { get; set; }

Property Value

string

The name of the destination.

DestinationOrdinal

Gets or sets destination ordinal.

public int DestinationOrdinal { get; set; }

Property Value

int

The destination ordinal.

Direction

Gets or sets the direction.

public ColumnMappingDirectionType Direction { get; set; }

Property Value

ColumnMappingDirectionType

The direction.

InternalAdvanced

public object InternalAdvanced { get; }

Property Value

object

IsPrimaryKey

Gets or sets a value indicating whether this object is primary key.

public bool IsPrimaryKey { get; set; }

Property Value

bool

true if this object is primary key, false if not.

SourceExpression

Gets or sets source expression.

public Expression<Func<TEntity, object>> SourceExpression { get; set; }

Property Value

Expression<Func<TEntity, object>>

The source expression.

SourceName

Gets or sets the name of the source.

public string SourceName { get; set; }

Property Value

string

The name of the source.

SourceOrdinal

Gets or sets source ordinal.

public int SourceOrdinal { get; set; }

Property Value

int

The source ordinal.