Hi am kind of new to MVC,
The .tt file corresponding to the table in the DB, has a data type as String for Gender. I have manually declared an enum for Gender in my C# class. I have also implemented the Partial class concept and used metadata to change the datatype of the property.
But that does not seem to have any influence on the Model when I am accessing it in the Controller. I still get the datatype of the property Gender as string and not as Enum.
I have created separate Enums for all the dropdowns across the application and now i am facing this problem.
please help.