Repro:
Create a basic entity model with the model based convention below
When the application is run and EF attempts to build the model a MappingException is thrown
class ModelBasedConvention : IDbConvention<EdmProperty>
{
public void Apply(EdmProperty property, EdmModel model)
{
property.Name = property.TypeName + "_" + property.Name;
}
}
Create a basic entity model with the model based convention below
When the application is run and EF attempts to build the model a MappingException is thrown
class ModelBasedConvention : IDbConvention<EdmProperty>
{
public void Apply(EdmProperty property, EdmModel model)
{
property.Name = property.TypeName + "_" + property.Name;
}
}