Skip to content

T_CodeJam_Mapping_IMapperBuilder

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

IMapperBuilder Interface

Builds a mapper that maps an object of TFrom type to an object of TTo type.

Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public interface IMapperBuilder

VB

Public Interface IMapperBuilder

F#

type IMapperBuilder =  interface end

The IMapperBuilder type exposes the following members.

Properties

 

Name Description
Public property DeepCopy If true, performs deep copy. if default (null), the GetMapperLambdaExpressionEx() method does not do deep copy, however the GetMapperLambdaExpression() method does.
Public property FromMappingDictionary Defines member name mapping for source types.
Public property FromType Type to map from.
Public property MappingSchema Mapping schema.
Public property MemberFilter Filters target members to map.
Public property MemberMappers Member mappers.
Public property ProcessCrossReferences If true, processes object cross references. if default (null), the GetMapperLambdaExpressionEx() method does not process cross references, however the GetMapperLambdaExpression() method does.
Public property ToMappingDictionary Defines member name mapping for destination types.
Public property ToType Type to map to.
  Back to Top

Methods

 

Name Description
Public method GetMapperLambdaExpression Returns a mapper expression to map an object of TFrom type to an object of TTo type.
Public method GetMapperLambdaExpressionEx Returns a mapper expression to map an object of TFrom type to an object of TTo type. Returned expression is compatible to IQueriable.
  Back to Top

See Also

Reference

CodeJam.Mapping Namespace

Clone this wiki locally