IMapperMapToCollectionT Method |
If implementd, recursively copies fields from incoming collection of domain objects to the persistent collection.
Must be called on incoming data for updates.
Namespace: JenevaAssembly: Jeneva.Net-1.1 (in Jeneva.Net-1.1.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax void MapToCollection<T>(
IEnumerable<T> source,
IEnumerable<T> dest
)
where T : Dtobase
Sub MapToCollection(Of T As Dtobase) (
source As IEnumerable(Of T),
dest As IEnumerable(Of T)
)
Parameters
- source
- Type: System.Collections.GenericIEnumerableT
Incoming collection of domain objects - dest
- Type: System.Collections.GenericIEnumerableT
Persistent collection (ISet or IList)
Type Parameters
- T
- DTO object type
See Also