Show / Hide Table of Contents

Struct ColumnMapping

Defines the mapping between source column and target column.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public struct ColumnMapping

Properties

Name Description
Source

Gets the source Column of this mapping.

SourceExpression

Gets the source DbExpression of this mapping.

Target

Gets the target Column of this mapping.

TargetExpression

Gets the target DbColumnExpression of this mapping.

Methods

Name Description
CopyValue(DataRow, DataRow)

Copies value from source DataRow to target DataRow.

Map<T>(Column<T>, Column<T>)

Maps between two columns.

Map<TSource, TTarget>(TSource, TTarget, Action<ColumnMapper, TSource, TTarget>, Boolean)

Maps between two entities.

ToString()
UnsafeMap(Column, Column)

Maps between two columns unsafely.

Extension Methods

ColumnExtensions.WithDefaultValue<TColumn, TValue>(TColumn, TValue, String, String)
ColumnExtensions.WithValueComparer<TColumn, TValue>(TColumn, IComparer<TValue>)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest