I would like to use NHibernate Filters to hide some rows from users, according to different permission sets.
-
Can I call a stored procedure from the filter?
-
Are there any scenarios in which a filter won’t filter records, or will cause an error?
Thanks!
No you can’t. The filter is translated into part of the WHERE clause of a SQL statement.
Not sure what you mean – if the filter is correct and is applied it will work, it’s not a half-baked feature…