LINQ TO ENTITY Generates SQL Query Incorrectly Using French Culture Context
(Doc ID 1610722.1)
Last updated on MARCH 24, 2022
Applies to:
Oracle Data Provider for .NET - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]Information in this document applies to any platform.
Symptoms
LINQ to Entity generated SQL query in a french culture context : decimal constant in select list include a comma (french decimal separator) instead of a period (culture invariant separator), result is an incorrect SQL query.
Invariant Culture
Query:
SELECT 3.1415 AS "C1" FROM "BugDemos" "Extent1"
Result:
3.1415
French Culture
Query:
SELECT 3,1415 AS "C1" FROM "BugDemos" "Extent1"
Result:
1415
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |