December 23, 2009 NHibernate
December 23, 2009 NHibernate
Next SQL, which verifies if customer row exists in database:
Will be generated with next NHibernate Query:
return result.HasValue;
}
Please note, that you could use not only primary key, but any other property in your where condition.
code
more code
~~~~