Entity framework, map oracle database type number(10) to .net Int32 -
With the field type The type of the main field is expected to be "System.Int32", but the value provided is actually 'System.Int64' type. I got this question And this article is how Datatype has been translated But now I want to solve this problem Solution is needed. I am assuming that because you are using dotconnect for Oracle with EOF that you get the function from the function. A refresher is returning / SP whose project is being projected on Datatype. You have three options to fix the problem: 1- Type in the object that you are mapping to Int64. This is the easiest solution if you are using an entity developer, just select the type in your mapping, change the type to 'int64', click OK, open your classes again. 2- 10) From a number (9) this will probably damage the display, and eventually it will break something, so I do not recommend it. number (10) in the Oracle database, which is larger than the net. Net
int 32 range. I am now using the Entity Framework to get data from this table, and map it to the database unit of this table. But, when I get the data, I get this error:
var competitions = DB PKG_API_PORTAL_SP_GETFBCOMPETITION () ToList ();
Comments
Post a Comment