Table of Contents

Class MapperProfileFactoryBase

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

Base class for creating mapper profiles.

public abstract class MapperProfileFactoryBase : ISelectorFactory
Inheritance
MapperProfileFactoryBase
Implements

Constructors

MapperProfileFactoryBase()

Initializes a new instance of the MapperProfileFactoryBase class.

Properties

ProfileTypes

Methods

AddProfile<T>()

Adds a profile of type T to the list of profile types.

AddProfiles()

Adds the profiles to the list of profile types.

GetMappedSourceMemberForPropertyName<T, TResult>(string)

Gets the source member for the specified property name.

GetMapperConfiguration()

Gets the mapper configuration.

GetPropertySelectorExpression<T, TResult>(string)

Gets the property selector expression for the specified property name.

GetSelector<T, TResult>()

Gets the selector expression for mapping T to TResult.

GetSortExpression<T, TResult>(string)

Gets the sort expression for the specified property name.

Map<TSource, TDestination>(TSource)

Maps the source object to the destination object.

Map<TSource, TDestination>(TSource, TDestination)

Maps the source object to the destination object.

TryGetSelector<T, TResult>()

Tries to get the selector expression for mapping T to TResult.