I would create a QueryOver like this
SELECT * FROM Table WHERE Field IN (1,2,3,4,5)
I\'ve tried with Contains method but I\'ve
Contains
You can try something like this:
// if IDsSubModels - array of IDs var qOver = _HibSession.QueryOver() .Where(x => x.ID.IsIn(IDsSubModels))
You don't need a join in this situation