Top "Modelmetadata" questions

Entity Framework - Get Table name from the Entity

I'm using the Entity Framework 4.1 with Code First approach. I'm able to get the storage model types and column names …

c# entity-framework entity ef-code-first modelmetadata
Is it possible to override the required attribute on a property in a model?

I'm curious to find out if it is possible to override the [Required] attribute that has been set on a …

c# asp.net asp.net-mvc asp.net-mvc-3 modelmetadata
How to override Entity Framework validation error messages

I have an Entity Framework 4.1 model that supports multiple ASP.NET MVC web applications. I use DataAnnotations to define and …

asp.net-mvc entity-framework-4 viewmodel modelmetadata data-annotations