Hello,
i have a many-to-many relation between two classes.
Quote:
* *
[player] <----------> [group]
Now i want to search some players, bases in its name and if selected a group.
Code:
lICriteria.Add(Expression.Like("name", "the name"));
lICriteria.Add(Expression.Like("parent", aGroup));
name is the property whitch contains the name
parent is the property whitch contains a list of groups where the player is in.
But this isn't working. Is was an one-to-many relation, then did it work. But now anymore...
How can a create criterea so it searches on "related object"?