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
ColumnMapping(int, int, bool)
Constructor.
public ColumnMapping(int sourceOrdinal, int destinationOrdinal, bool isPrimaryKey)
Parameters
sourceOrdinal
intSource ordinal.
destinationOrdinal
intDestination ordinal.
isPrimaryKey
booltrue 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
intSource ordinal.
destinationOrdinal
intDestination ordinal.
isPrimaryKey
booltrue if this object is primary key, false if not.
direction
ColumnMappingDirectionTypeThe direction.
ColumnMapping(int, int, ColumnMappingDirectionType)
Constructor.
public ColumnMapping(int sourceOrdinal, int destinationOrdinal, ColumnMappingDirectionType direction)
Parameters
sourceOrdinal
intSource ordinal.
destinationOrdinal
intDestination ordinal.
direction
ColumnMappingDirectionTypeThe direction.
ColumnMapping(int, string)
Constructor.
public ColumnMapping(int sourceOrdinal, string destinationName)
Parameters
ColumnMapping(string)
Constructor.
public ColumnMapping(string columnName)
Parameters
columnName
stringName of the column.
ColumnMapping(string, bool)
Constructor.
public ColumnMapping(string columnName, bool isPrimaryKey)
Parameters
columnName
stringName of the column.
isPrimaryKey
booltrue if this object is primary key, false if not.
ColumnMapping(string, bool, ColumnMappingDirectionType)
Constructor.
public ColumnMapping(string columnName, bool isPrimaryKey, ColumnMappingDirectionType direction)
Parameters
columnName
stringName of the column.
isPrimaryKey
booltrue if this object is primary key, false if not.
direction
ColumnMappingDirectionTypeThe direction.
ColumnMapping(string, int)
Constructor.
public ColumnMapping(string sourceName, int destinationOrdinal)
Parameters
ColumnMapping(string, string)
Constructor.
public ColumnMapping(string sourceName, string destinationName)
Parameters
ColumnMapping(string, string, bool)
Constructor.
public ColumnMapping(string sourceName, string destinationName, bool isPrimaryKey)
Parameters
sourceName
stringName of the source.
destinationName
stringName of the destination.
isPrimaryKey
booltrue 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
stringName of the source.
destinationName
stringName of the destination.
isPrimaryKey
booltrue if this object is primary key, false if not.
direction
ColumnMappingDirectionTypeThe direction.
ColumnMapping(string, string, ColumnMappingDirectionType)
Constructor.
public ColumnMapping(string sourceName, string destinationName, ColumnMappingDirectionType direction)
Parameters
sourceName
stringName of the source.
destinationName
stringName of the destination.
direction
ColumnMappingDirectionTypeThe direction.
ColumnMapping(string, ColumnMappingDirectionType)
Constructor.
public ColumnMapping(string columnName, ColumnMappingDirectionType direction)
Parameters
columnName
stringName of the column.
direction
ColumnMappingDirectionTypeThe 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
IgnoreOnMergeInsert
public bool IgnoreOnMergeInsert { get; set; }
Property Value
IgnoreOnMergeUpdate
public bool IgnoreOnMergeUpdate { get; set; }
Property Value
IgnoreOnSynchronizeInsert
public bool IgnoreOnSynchronizeInsert { get; set; }
Property Value
IgnoreOnSynchronizeUpdate
public bool IgnoreOnSynchronizeUpdate { get; set; }
Property Value
IgnoreOnUpdate
public bool IgnoreOnUpdate { get; set; }
Property Value
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; }