dimanche 3 janvier 2016

Get class from type in c#

var classType = someClass.getType();

Now from this classType, I want to retrieve the class again so that I can use it in the query -

Session.Query.All(someClass); <- works


Session.Query.All(classType); <- does not works. 

From this classType, I wish to retrieve the class





Aucun commentaire:

Enregistrer un commentaire