Table of Contents

Method Map

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

Map<TSource, TDestination>(TSource, TDestination)

Maps the properties from the source object to the destination object.

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

Parameters

source TSource

The source object.

destination TDestination

The destination object.

Returns

TDestination

The destination object with mapped properties.

Type Parameters

TSource

The source type.

TDestination

The destination type.

Map<TSource, TDestination>(TSource)

Maps the properties from the source object to a new instance of the destination type.

TDestination Map<TSource, TDestination>(TSource source)

Parameters

source TSource

The source object.

Returns

TDestination

A new instance of the destination type with mapped properties.

Type Parameters

TSource

The source type.

TDestination

The destination type.