Question Property as input parameter like LINQ

BRIGHT

New member
Joined
Jan 6, 2011
Messages
1
Programming Experience
1-3
Can someone help me please, i`m looking for a way to build a filter like LINQ but i want to use it before selecting data out of the database. For building a ORM witch can be used for our business.

I`m looking for a way to execute a where function for example with ObjectA.PropertyB as argument so i can see ok, the users wants from Obect A a filter on Property B.

I know it`s possible with LINQ when you run From Test in List(of ObjectA) you can use Test.PropertyB. I also know the way to use it without properties but with strings, but then the compile doesn`t check it.

Is there a way to do this?
Many thanks.
 
Back
Top