I Like to use a custom IDictionary class for my DynamicComponent mappings:
class ObservableDictionary : Hashtable, INotifyCollectionChanged, INotifyPropertyChanged
when mapping lists it's possible to use a custom collection type as follows:
mapping.HasMany(x => x.Items).CollectionType<ObservableCollection<ItemClass>>();
But how can i do this with DynamicComponents? There is no CollectionType Method.
mapping.DynamicComponent(
x => x.DynamicFields,
c => {
c.Map(x => x["fld_num"]).CustomType(typeof(int));
c.Map(x => x["shortdesc"]).CustomType(typeof(string));
});