Table of Contents

Method Map

Namespace
Innova.Data.Mapper
Assembly
Innova.Data.dll

Map<TSource, TDestination>(TSource, TDestination)

Maps the source object to the destination object.

public TDestination Map<TSource, TDestination>(TSource source, TDestination destination)

Parameters

source TSource

The source object.

destination TDestination

The destination object.

Returns

TDestination

The mapped destination object.

Type Parameters

TSource

The type of the source object.

TDestination

The type of the destination object.

Map<TSource, TDestination>(TSource)

Maps the source object to the destination object.

public TDestination Map<TSource, TDestination>(TSource source)

Parameters

source TSource

The source object.

Returns

TDestination

The mapped destination object.

Type Parameters

TSource

The type of the source object.

TDestination

The type of the destination object.