Entity Framework, Oracle, DevArt, Context#ExecuteStoreQuery: System.Int32 constructed as System.Double? -


i have entity-class having property of type int32: on generating ddl using devart oracle number(10) column generated. reading , writing instances works flawlessly.

however, on fetching instances of entity-class sending custom query executestorequery on objectcontext property seems returned system.double, such constructing instances fails.

can hint devart construct system.int32?

thank you. bart

the reason fact oracledatareader, used in executestorequery method, has type mapping different 1 used in entity framework provider.
recommend use numbermappings, suppose need map number(10) int32: number mappings=((number,10,10,system.int32). these changes should persisted model connection string (they duplicating default ef mapping rules, necessary oracledatareader executestorequery). please let know if problem persists.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -