Table of Contents

Interface IDataMergeMapping<TEntity>

Namespace
FluentCommand.Merge
Assembly
FluentCommand.SqlServer.dll

Provides a strongly typed, fluent interface for configuring data merge column mappings for a specific entity type.

public interface IDataMergeMapping<TEntity> : IDataMergeMapping

Type Parameters

TEntity

The type of the entity being mapped.

Inherited Members

Methods

AutoMap()

Automatically maps all public properties of TEntity as columns.

IDataMergeMapping<TEntity> AutoMap()

Returns

IDataMergeMapping<TEntity>

The current IDataMergeMapping<TEntity> instance for chaining.

Column<TValue>(Expression<Func<TEntity, TValue>>)

Begins configuration of a column mapping for the specified entity property.

IDataColumnMapping Column<TValue>(Expression<Func<TEntity, TValue>> sourceProperty)

Parameters

sourceProperty Expression<Func<TEntity, TValue>>

An expression selecting the source property to map.

Returns

IDataColumnMapping

An IDataColumnMapping interface for further column mapping configuration.

Type Parameters

TValue

The type of the property value.