I created a table with a user defined datatype column. After that I wrote a user defined class for that column in c# in entitiy framework project. But on ModelDiagram I can't see myUserDefinedDataType. When I change that type in model class manually I have an error like this.
System.Data.Entity.Core.MetadataException: 'Schema specified is not valid. The following information may be useful in resolving the previous error: The property 'columnName' on the type 'Model.Class' has a property type of 'myUserDefinedDataType' which cannot be mapped to a primitive type.
Thanks..
2.1m questions
2.1m answers
60 comments
57.0k users