Mapping boolean in stored procedure

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 29
Joined: Tue 09 Sep 2008 09:46

Mapping boolean in stored procedure

Post by robymes » Thu 04 Dec 2008 16:15

I have 3 SP (create, update, delete) for an entity in which there's a bool property mapped on a NUMBER(1,0) table field.
in reading from db i have no problem at all, since the designer recognize correctly the mapping (in ssdl the field type is reported as bool), but with SP the ssdl type is reported as decimal, and even if i change it manually to bool (so i can compile), at runtime it doesn't work. it seems it cannot makes the conversion from the entity bool property to the NUMBER SP parameter.
in sqlserver with "bit" table field type it works.

Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 09 Dec 2008 11:15

Thank you for the bug report. This problem is fixed, look forward to the next build.

Post Reply