Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

double versus decimal type mapping

mdylaFeb 3 2012
Hi ,

I am new to odp.net , I used to work on System.Data.OracleClient . When I drop table from server explorer to typed dataset , fields declared as number(14,2) becomes System.Double . Because I don't want to work with floating point at all , I change this fields to System.Decimal manually .
Unfortunately , when I have to add new column via dataadapter configure option , columns with datatype changed from System.Double to System.Decimal are added again at the end of datatable. Then I have to rework manually such datatable , what is rather annoying.

Is there possibility to force odp.net to not use floating point numbers ? and this feature of adding fields again is by design or is it a bug ?

thank you ,

mdyla
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2012
Added on Feb 3 2012
0 comments
151 views