Reputation: 3491
I have a method by QueryOver in Nhibernate3.1
var q = SessionInstance.QueryOver<Person>().
Where(person=>person.PersonIdentity.FirstName.IsLike(firstName,MatchMode.Anywhere));
return q.List<Person>();
Now i have a runtime error by this message:
Could not resolve property: PersonIdentity.FirstName of: MyNameSpace.Domain.Entities.Person
Why?
Upvotes: 5
Views: 2209