What i need to do is make query in nHibernate (fully dynamically i don’t know how many objects i will have).
What this query should returns are objects of specific Ids(i got List<int>).
Is there any way to make restriction like
Restrictions.Eq("Id",first item from my list of ints).Or("Id",second item) .... and so on.
I know i can make it with AbstractCriterion but have no idea how to check if object from my List<int> is first one.
So how can I make that?
Thanks for advance:)
You need the
Incriteria: