Table of Contents

TMappingExplorer.ObjectFactory Property

Gets or sets the factory used to instantiate entity objects during hydration.

Remarks

By default, a standard RTTI-based factory is used. Assign a custom IObjectFactory to control how entity objects are constructed (e.g., to use dependency injection).

Syntax

Unit: Aurelius.Mapping.Explorer

property TMappingExplorer.ObjectFactory: IObjectFactory

See also