Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvarchar as column type with max length #372

Open
bobted opened this issue Oct 31, 2017 · 0 comments
Open

nvarchar as column type with max length #372

bobted opened this issue Oct 31, 2017 · 0 comments

Comments

@bobted
Copy link

bobted commented Oct 31, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant