This content has been marked as final. Show 6 replies
Your code snippet does not look like using Entity Framework (EF).
The custom type mapping is for Entity Data Model (EDM).
When you use the ADO.NET Entity Data Model wizard, the mapping
will be applied to the generated data model.
Please give it a try.
Can you change the number mappings on ado .net OracleCommand?
I believe your question is about the precision and scale checking in OracleDataReader GetInt16, GetInt32, and GetInt64 methods.
Only EF-related OracleDataReader objects will not use column metadata in the checking in said methods.
Note: The latest version must have removed EF-related condition. It won't use column metadata in the checking in said methods
as long as it's .NET 4.0.
Edited by: shsu on Sep 19, 2012 4:37 PM
Can you change the mappings o ado .net DataReader methods?
Can you explain "the mappings of ado .net DataReader methods" or
"the mappings on ado .net DataReader methods"?