Allow Setting Dynamic Component Templates From Dictionary
Description
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.
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.