Quantcast
Viewing latest article 18
Browse Latest Browse All 25

Get NHibernate Entities by Property, Part 2

In the previous post, I showed how to use the Session.Get<T> syntax against an arbitrary property on the entity. The primary limitation with that method is that it only works for constant values. The following will work with constants, local variables, return values from methods, etc.


Viewing latest article 18
Browse Latest Browse All 25

Trending Articles