Allow Setting Dynamic Component Templates From Dictionary
Description
Environment
None
Activity
Show:
Frédéric Delaporte October 10, 2019 at 10:21 PM
Moved here.
Ricardo Peres September 22, 2014 at 12:05 AM
Pull request: https://github.com/nhibernate/nhibernate-core/pull/341
Fixed
Details
Assignee
Reporter
Ricardo Peres
Ricardo PeresComponents
Fix versions
Affects versions
Priority
Trivial
Who's Looking?
Open Who's Looking?
Created September 21, 2014 at 9:18 AM
Updated October 10, 2019 at 10:21 PM
Resolved October 10, 2019 at 10:21 PM
Who's Looking?
Currently, when mapping a dynamic component with mapping by code, we need to specify the dynamic component template (the columns to store) as an anonymous type, which isn't very good for dynamic scenarios, where these columns and their types are obtained dynamically. My proposal is to use a dictionary (IDictionary<string, Type> or IDictionary<string, object>) for that.
Pull request will follow shortly.