fluent-nhibernate
fluent-nhibernate copied to clipboard
Please create ability to map hidden collections
Please create ability to map hidden collections as in native mapping by code (Set("ProtectedList")) Or possibility to add mappingByCode mappings to FluentConfiguration
OneToMany and ManyToMany
I need it to cascade remove bidirectional assoiated relationships
@megafetis , it is possible and always was:
HasMany(Reveal.Member<Entity, IEnumerable<Child>>("ProtectedList")).AsSet()
Or like this:
HasMany<Child>(Reveal.Member<Entity>("ProtectedList")).AsSet()