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

SqlDateTime overflow exception persisting default values #13

Closed
pcoombe opened this issue Nov 26, 2020 · 0 comments
Closed

SqlDateTime overflow exception persisting default values #13

pcoombe opened this issue Nov 26, 2020 · 0 comments

Comments

@pcoombe
Copy link
Contributor

pcoombe commented Nov 26, 2020

This would apply to both v3 and v5 branches

Column type for localdate gets generated as date
Column type for localdatetime gets generated as datetime2

Parameter type for localdate gets generated as datetime
Parameter type for localdatetime gets generated as datetime

Default values for localdate and localdatetime is 1/1/0001 can therefor not be persisted due to SqlDateTime overflow exception

PR raised #12 to apply correct types to parameter

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

2 participants