Open victorvilella opened 1 year ago
It seems the problem is in this method.
The current code is ignoring several metadata about the columns, like
DEFAULT
valuesCOMPUTED BY
sources@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 ef7
branch? (say yes, please)
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.