Anatoly Lubarsky Logo
MSSQL, .NET, Design. Life and Music

Enterprise Library: Bug with decimal in DataAccess block

It is wierd, since I am following this bug from the times of pre Enterprise Library Microsoft Data Access Application block. 2 years ? They did not fix it until now. I'm not sure what the problem is, but Decimal type parameter, added with AddOutParameter to the command parameter collection does not scale. Sure there are workarounds but it is sad to see it over and over again.


Update: just look at the sources - AddOutParameter calls AddParameter and passes scale = 0 hardcoded.


Related Posts:

Thursday, March 30, 2006 2:22 AM

Comments

# Enterprise Library sucks big time

11/30/2006 11:59 PM by Anatoly Lubarsky

If your feedback doesn't appear right away, please be patient as it may take a few minutes to publish.

Post a Comment

Protected by CAPTCHAEnter the code you see
Name (*)  
E-mail (*)  
Url
Remember

Comment (*)