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

Issue with EF core setting a bool value #2844

Closed
ghendric opened this issue Feb 9, 2025 · 3 comments
Closed

Issue with EF core setting a bool value #2844

ghendric opened this issue Feb 9, 2025 · 3 comments
Labels
question Further information is requested

Comments

@ghendric
Copy link

ghendric commented Feb 9, 2025

i have a stored procedure that has a column that sets to a bit value of 1 or 0 based on some conditions. Running this in SSMS, returns the proper value in this column. However; when executing this stored proc with EF Core, it always returns false. A sample condition would be:

Case when "something is true" then convert(bit, 1) else convert(bit,0) end as MyColumn

I have the latest version of EF Core power tools installed. v 2.6.893

@ErikEJ
Copy link
Owner

ErikEJ commented Feb 9, 2025

Please share a runnable repro.

Otherwise I am unable to.provide free support.

@ghendric
Copy link
Author

ghendric commented Feb 9, 2025

I'll try to put one together but is there an older version EF Core Power Tools that I could try first? I'm kind of in a hurry?

Thanks

@ErikEJ
Copy link
Owner

ErikEJ commented Feb 11, 2025

Closing as no repro provided, and it is completely unclear what the exact issue is.

@ErikEJ ErikEJ closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2025
@ErikEJ ErikEJ added the question Further information is requested label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants