I am using NHibernate to access the database and the application crash on the return line.
- Code: Select all
using (var _session = NHibernateHelper.OpenSession())
System.InvalidOperationException: Sequence contains more than one matching element
When i set the profiler, i select only one project, but this is a big solution with dozens of projects inside, this piece of code above is a repository project.