-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Decimal truncation on Database First Approach #1104
Decimal truncation on Database First Approach #1104
Comments
It seems the problem is in this method. The current code is ignoring several metadata about the columns, like
@cincuranet with your approval I would like to start working on a PR to fix all this. And also to add sequences (generators) support to scaffolding. I already did a similar work on Firebird dialect for SQLAlchemy implementation. For reference, this is the metadata query we use. |
Go ahead. |
One last question: Should I branch it from |
You can, but I do not promise that branch to be super stable. |
Understood. No problems. 👍 |
Hi guys.
I had a problem with an project with Database First Approach. My app was truncating every decimal's information.
Consider model as:
and Context as:
When I perform an insert/update operation, it just saves the integer part of decimal.
Looking for a solution I realized the problem was column type generated by ef scaffolding proccess. I adjusted my context as follows:
I would like to ask to fix this issue and I give my problem and how I solved this problem.
Thanks in advance.
The text was updated successfully, but these errors were encountered: