2
Reply

IQueryable do the with a variable

ralf.aulinger

ralf.aulinger

Aug 4 2009 10:41 AM
5.8k

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)