Hi guys,
I've got a class mapping with a where clause in it like the follwing:
Code:
<class name="Customer" table="Customers" lazy="true" where="Deleted = 0">
As I understand it any query, get or load should append "Deleted = 0" to the end of any SQL statements generated...strangely this is not happening. I've got the log output set to debug and it's showing the SQL statement that will be executed as <i>not</i> having the additional clause.
Is this a bug, or have I misunderstood how this works?
Symon.