2
Answers

IQueryable do the with a variable

ralf.aulinger

ralf.aulinger

15y
5.9k
1

Is it possible to use any variable instead of the T.
I've create a query depending on a type chosen from a Combobox.
So is it possible to create a variable and then use it like this:
??? T = chosen_entity.GetType();
IQueryable<T> test = ...
 
 
 
 
Answers (2)