Home

LP 7 EF Core Context wrong precision

edited June 9

Hello,

I use LINQPad 7.3.9 with an Entity Framework Core 6.0.3 context.

My table has a column (numeric 6,4) which I need to update.
But the created SQL parameter uses the default precision 18, 2:
-- Region Parameters
-- @p1='1591', @p0='1.0258' (Precision = 18) (Scale = 2)
-- EndRegion
Therefore the value gets rounded.

Is this a bug of the context generator?

regards
Stefan

Comments

Sign In or Register to comment.