I need to be able to create a table where the class properties that are typed as string are translated to nvarchar instead of varchar in the table. I can do this by specifying the string --> nvarchar in the extraTypeMappings Dictionary<Type, string>, but this does not take into account the [MaxLength] on the current property.
I need to be able to create a table where the class properties that are typed as string are translated to nvarchar instead of varchar in the table. I can do this by specifying the string --> nvarchar in the extraTypeMappings Dictionary<Type, string>, but this does not take into account the [MaxLength] on the current property.