2

Can I create new model at runtime? I have string with model's information and I need to create model according this string (at runtime).

I want to use it for access to various db tables, with structure defined in string variable as I mentioned.

Thanks.

mrfazolka
  • 780
  • 1
  • 7
  • 24
  • Check these questions: http://stackoverflow.com/questions/6329461/how-to-create-controls-dynamically-in-mvc-3-based-on-an-xml-file AND http://stackoverflow.com/questions/9588590/programmatically-adding-properties-to-an-mvc-model-at-runtime – adiga Feb 20 '15 at 08:09

0 Answers0