2. IDataMapper<T> GetIDataMapper<T>(string alias)

Note

This option only applies for Xml mappings.

Gets an IDataMapper for the defined alias. IDataMapper extends IObjectMapper by providing SQL / database specific options.

Example:

IDataMapper<Product> mapper = Elementary.GetIDataMapper<Product>("DiscontinuedProduct");