oysteinkrog / SQLite.Net-PCL

Simple, powerful, cross-platform SQLite client and ORM - Updated version with PCL support
MIT License
353 stars 162 forks source link

nvarchar as column type with max length #372

Open bobted opened 7 years ago

bobted commented 7 years ago

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.