dimanche 3 juillet 2016

Scaffolding.Core.ModelMetaData Object Instantiation

Is there Any way to Create an object of Scaffolding.Core.ModelMetaData outside of the T4 scaffolding view template. Actually I'm trying to mimic the exact same functionality of Scaffolding.Core.ModelMetaData in T4 template but instead in a C# file i.e getting all the properties names & values as well as the names and values of Navigation Properties. Any help?

Note: I've tried using reflection but the actual hindrance is in getting navigation properties.





Aucun commentaire:

Enregistrer un commentaire