I’m just getting started with NHibernate and reading blogs and articles from all over.
many of them reference a session.Get<> methods for generic types, but this is not available for me. I only get the session.Get(Type class, object id) methods.
Why is this? Am I missing a reference? Or has this something to do with the NHibernate version I’m using. Wich is NHIbernate 2.1.0
Given the following definition, they’re implemented by the ISession interface. Which would mean that whenever you have an object which implements ISession, you should have both methods.
Are you sure you have the most recent version of the NHibernate assembly?