Hi,

Starting a new project, I use as "model" (good, best practices) the
application "Chinook" located here
http://code.google.com/p/unhaddins/source/browse/#svn/trunk/Examples/uNHAddIns.Examples.WPF

When I execute the test method :

                [Test]
                public void TryingToGet()
                {
                    using (var session = sessions.OpenSession())
                    {
                        CurrentSessionContext.Bind(session);

                        var albumRepository = new CustomerRepository(sessions);
                        var customer = session.Get<Customer>(1);
                    }
                }

I get this error : "failed: NHibernate.MappingException : No persister
for" on the session.Get line

Any idea ?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to