nhibernate / fluent-nhibernate

Fluent NHibernate!
BSD 3-Clause "New" or "Revised" License
1.66k stars 686 forks source link

Properly allow stored procedure in subclass mappings #614

Open jeff-hagen opened 1 year ago

jeff-hagen commented 1 year ago

sql-delete / sql-update / sql-insert specified at the top level of a class hierarchy only applies to the top level class. It's currently not possible to apply stored procedures to subclasses, which is a valid NH mapping.

This PR allows subclass stored procs.

hazzik commented 12 months ago

@jeff-hagen thanks for contribution. Can you please add some tests?