Hi, Since a few days I have been trying to convert my HBM mappings to Fluent mappings, and it is going very fluently... I am using the PersistenceSpecification to test the correctness of the mappings (one of the reasons to start using Fluent NHibernate).
A lot of my classes are using a custom collection (ObservableList<> a custom implementation of BindingList<>) It works like a charm in NHibernate and looking in the debugger Fluent NHibernate is generating the correct mapping for using this list, but when I use CheckList I get the exception: Test method Domain.Test.MappingTests.Can_correctly_map_BtwPercentageTabel threw exception: System.ApplicationException: Error while trying to set property TabelDefinities ---> System.ArgumentException: Object of type 'System.Collections.Generic.List`1 [Domain.Tarieven.BtwPercentageDefinitie]' cannot be converted to type 'Framework.Collections.IObservableList`1 [Domain.Tarieven.BtwPercentageDefinitie]'.. Looking in the debugger and the sourcecode I see that in PersistenceSpecification<>.ListValue<>.SetValue() custom types are not handled... Is there an easy way to add support for custom collection types? Greetings, David. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
