NUMBER(1) automapped to BOOLEAN but true = -1, need true = 1
Posted: Tue 06 Jul 2010 09:18
Hi,
We have many columns in our database of type NUMBER(1) and we store a 0 to represent FALSE and a 1 to represent TRUE.
The EF however is passing -1 to the database in the generated SQL - anyone where/how can I hook in to change this behaviour?
Many thanks,
Rob.
We have many columns in our database of type NUMBER(1) and we store a 0 to represent FALSE and a 1 to represent TRUE.
The EF however is passing -1 to the database in the generated SQL - anyone where/how can I hook in to change this behaviour?
Many thanks,
Rob.