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 WILL NOT let me call on resultingType. What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire