A Sandcastle Documented Class Library

# ModelMapping TSource, TTarget Methods

The ModelMapping
TSource, TTarget
generic type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddMapping | Adds a mapping rule for a property. The mapping rule is a call back method that will be called in order to do a custom transfer of data from the source over to the target property.
| CopyTo | Copy the properties from the source object over the provided target object.
| GetObject | Creates the target object and maps all public properties.

Top
See Also

#### Reference

ModelMapping
TSource, TTarget
Class
Dundas.BI.WebApi.Models Namespace