Table of Contents

Class ColumnMapping

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

An advanced column mapping.

public class ColumnMapping
Inheritance
ColumnMapping
Derived
Inherited Members

Constructors

ColumnMapping()

Inherit constructor.

public ColumnMapping()

ColumnMapping(int, int)

Constructor.

public ColumnMapping(int sourceOrdinal, int destinationOrdinal)

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

ColumnMapping(int, int, bool)

Constructor.

public ColumnMapping(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.

ColumnMapping(int, int, bool, ColumnMappingDirectionType)

Constructor.

public ColumnMapping(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.

ColumnMapping(int, int, ColumnMappingDirectionType)

Constructor.

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

Parameters

sourceOrdinal int

Source ordinal.

destinationOrdinal int

Destination ordinal.

direction ColumnMappingDirectionType

The direction.

ColumnMapping(int, string)

Constructor.

public ColumnMapping(int sourceOrdinal, string destinationName)

Parameters

sourceOrdinal int

Source ordinal.

destinationName string

Name of the destination.

ColumnMapping(string)

Constructor.

public ColumnMapping(string columnName)

Parameters

columnName string

Name of the column.

ColumnMapping(string, bool)

Constructor.

public ColumnMapping(string columnName, bool isPrimaryKey)

Parameters

columnName string

Name of the column.

isPrimaryKey bool

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

ColumnMapping(string, bool, ColumnMappingDirectionType)

Constructor.

public ColumnMapping(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.

ColumnMapping(string, int)

Constructor.

public ColumnMapping(string sourceName, int destinationOrdinal)

Parameters

sourceName string

Name of the source.

destinationOrdinal int

Destination ordinal.

ColumnMapping(string, string)

Constructor.

public ColumnMapping(string sourceName, string destinationName)

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

ColumnMapping(string, string, bool)

Constructor.

public ColumnMapping(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.

ColumnMapping(string, string, bool, ColumnMappingDirectionType)

Constructor.

public ColumnMapping(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.

ColumnMapping(string, string, ColumnMappingDirectionType)

Constructor.

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

Parameters

sourceName string

Name of the source.

destinationName string

Name of the destination.

direction ColumnMappingDirectionType

The direction.

ColumnMapping(string, ColumnMappingDirectionType)

Constructor.

public ColumnMapping(string columnName, ColumnMappingDirectionType direction)

Parameters

columnName string

Name of the column.

direction ColumnMappingDirectionType

The direction.

Properties

AuditMode

Gets or sets the audit mode.

public ColumnMappingAuditModeType AuditMode { get; set; }

Property Value

ColumnMappingAuditModeType

The audit mode.

CaseSensitive

Gets or sets the case sensitive mode.

public ColumnMappingCaseSensitiveType CaseSensitive { get; set; }

Property Value

ColumnMappingCaseSensitiveType

The case sensitive mode.

CoalesceDestinationOnMergeUpdate

Gets or sets a value indicating whether the coalesce destination merge update.

public bool CoalesceDestinationOnMergeUpdate { get; set; }

Property Value

bool

True if coalesce destination merge update, false if not.

CoalesceOnMergeUpdate

Gets or sets a value indicating whether the coalesce on merge update.

public bool CoalesceOnMergeUpdate { get; set; }

Property Value

bool

True if coalesce on merge update, false if not.

DefaultValue

Gets or sets the default value.

public object DefaultValue { get; set; }

Property Value

object

The default value.

DefaultValueResolution

Gets or sets the default value resolution.

public DefaultValueResolutionType DefaultValueResolution { get; set; }

Property Value

DefaultValueResolutionType

The default value resolution.

DefaultValueSql

Gets or sets the default value SQL.

public string DefaultValueSql { get; set; }

Property Value

string

The default value SQL.

DestinationAlias

Gets or sets destination alias.

public string DestinationAlias { get; set; }

Property Value

string

The destination alias.

DestinationExpression

Gets or sets destination expression.

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

Property Value

Expression<Func<object, 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.

FormulaInsert

Gets or sets the formula insert.

public string FormulaInsert { get; set; }

Property Value

string

The formula insert.

FormulaPrimaryKeyDelete

Gets or sets the formula update.

public string FormulaPrimaryKeyDelete { get; set; }

Property Value

string

The formula update.

FormulaPrimaryKeyMerge

Gets or sets the formula update.

public string FormulaPrimaryKeyMerge { get; set; }

Property Value

string

The formula update.

FormulaPrimaryKeySynchronize

Gets or sets the formula primary key synchronize.

public string FormulaPrimaryKeySynchronize { get; set; }

Property Value

string

The formula primary key synchronize.

FormulaPrimaryKeyUpdate

Gets or sets the formula update.

public string FormulaPrimaryKeyUpdate { get; set; }

Property Value

string

The formula update.

FormulaType

Gets or sets the type of the formula.

public ColumnMappingFormulaType FormulaType { get; set; }

Property Value

ColumnMappingFormulaType

The type of the formula.

FormulaUpdate

Gets or sets the formula update.

public string FormulaUpdate { get; set; }

Property Value

string

The formula update.

IgnoreOnInsert

public bool IgnoreOnInsert { get; set; }

Property Value

bool

IgnoreOnMergeInsert

public bool IgnoreOnMergeInsert { get; set; }

Property Value

bool

IgnoreOnMergeUpdate

public bool IgnoreOnMergeUpdate { get; set; }

Property Value

bool

IgnoreOnSynchronizeInsert

public bool IgnoreOnSynchronizeInsert { get; set; }

Property Value

bool

IgnoreOnSynchronizeUpdate

public bool IgnoreOnSynchronizeUpdate { get; set; }

Property Value

bool

IgnoreOnUpdate

public bool IgnoreOnUpdate { get; set; }

Property Value

bool

IsConcurrencyColumn

Gets or sets a value indicating whether this object is concurrency column.

public bool IsConcurrencyColumn { get; set; }

Property Value

bool

true if this object is concurrency column, false if not.

IsIdentity

Gets or sets a value indicating whether this object is identity.

public bool IsIdentity { get; set; }

Property Value

bool

true if this object is identity, false if not.

IsOptional

Gets or sets a value indicating whether this object is optional.

public bool IsOptional { get; set; }

Property Value

bool

True if this object is optional, false if not.

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<object, object>> SourceExpression { get; set; }

Property Value

Expression<Func<object, 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.

SourceValue

Gets or sets source value.

public object SourceValue { get; set; }

Property Value

object

The source value.

SourceValueFactory

Gets or sets source value factory.

public Func<object, object> SourceValueFactory { get; set; }

Property Value

Func<object, object>

The source value factory.