Quantcast
Channel: BlogoSfera » parameter?
Viewing all articles
Browse latest Browse all 12

Use a type generated from reflection as a generic type parameter?

$
0
0

I am getting the type to set from a string via var resultingType = Type.GetType(stringOfType); and this works giving the correct type. Then I am using caliburn.micro database mapping to try to pull the class (a table in a database) so repo.GetQueryable<resultingType>.Where(e => e.id =1) I’m not sure if the caliburn.micro is important but it […]

The post Use a type generated from reflection as a generic type parameter? appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 12

Trending Articles