I have a list that contains some numbers, say id. And i want to retrieve all the rows, that too, of two tables with id based on the list. I dont want to use native sql, as, i will have to iterate through the list and run a sql each time. Is there any other way out?
posted 5 years ago
Solved, in Restrctions. class there is a in method which takes 2 args, string property and the collection.