Boolean properties mapping
Posted: Wed 07 Apr 2010 18:02
Hi there,
I'd like to save my boolean fields as CHAR(1) datatype using following idea:
'Y' is for true, 'N' for false or as NUMBER(1) datatype with 1 or 0.
However LINQ to Oracle SQL is always trying to insert full-text sting 'False' and 'True'.
How to achieve my mapping logic?
Thank you in advance,
Lex
I'd like to save my boolean fields as CHAR(1) datatype using following idea:
'Y' is for true, 'N' for false or as NUMBER(1) datatype with 1 or 0.
However LINQ to Oracle SQL is always trying to insert full-text sting 'False' and 'True'.
How to achieve my mapping logic?
Thank you in advance,
Lex