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

EF tool set bool wrong in class #1133

Closed
kenneth-developer opened this issue Oct 6, 2021 · 1 comment
Closed

EF tool set bool wrong in class #1133

kenneth-developer opened this issue Oct 6, 2021 · 1 comment

Comments

@kenneth-developer
Copy link

In sql table, if you set bit to not null and default 1 EFtool set bool? but if I set default to 0 then EF tool set bool

regards Kenneth
Skärmavbild 2021-10-06 kl  12 26 26

@ErikEJ
Copy link
Owner

ErikEJ commented Oct 6, 2021

It is by design, you can use the advanced option to work around it: #160 (comment)

@ErikEJ ErikEJ closed this as completed Oct 6, 2021
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