This project is read-only.


Hybrid Class with Mapped and Dynamic Attributes?


Thanks for the quick reply!
Your example is basically what I have in place now...although not nearly as elegant as your solution!

I was also looking at the IObjectMapping/IPropertyMapping interfaces to see if there was any way they could be hacked to provide an "extra attributes" mapping, similar to what MongoDB provides (shown below), but it didn't look doable.
BsonClassMap.RegisterClassMap<MyClass>(cm => 
    cm.MapExtraElementsMember(c => c.CatchAll);
Closed Sep 8, 2015 at 2:37 AM by MadHatter22


wrote Sep 7, 2015 at 5:51 AM

Associated with changeset 40272: CatchAll property mapping added.
Minor refactoring to BooleanReducer.

wrote Sep 7, 2015 at 5:56 AM

wrote Sep 7, 2015 at 10:51 PM

Associated with changeset 40278: Added support for cath all mapping being included in modifications.
Corrected event listener pipeline for Add operations.
Using cleanup

wrote Sep 8, 2015 at 2:37 AM