Hi I'm looking some help in doing some EntityTests. Basically when I run the code:
Code:
ISession session = sessionFactory.OpenSession();
ICriteria criteria = session.CreateCriteria(typeof (Application));
IList<BCApplication> apps = criteria.List<Application>();
I get the following error:
UnitTests.EntityTests.TestApplication:
NHibernate.Exceptions.GenericADOException : Error performing LoadByUniqueKey[SQL: SQL not available]
----> System.Collections.Generic.KeyNotFoundException : The given key was not present in the dictionary.
Would anyone have any ideas?