dotnet / dotnet/efcore

Support mapping of SqlDecimal, SqlString, etc.

Open
#27,732 3 comments 0 reactions 0 assignees View on GitHub
area-type-mapping customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Greetings.

Is there any technical possibility to work with EF and use the maximum precision of MsSql? I understand that the .NET `decimal` type doesn't support that precision, but what about a custom `BigDecimal` type or `SqlDecimal` type? All my attempts to use any of the possibilities of EF have failed. And yes, I really need `decimal(38,18)` for work with money, with aggregate queries support.

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.