Subject | Re: [firebird-support] Boolean data type in .NET provider. How? |
---|---|
Author | Helen Borrie |
Post date | 2005-03-19T03:43:29Z |
At 04:35 PM 18/03/2005 +0000, you wrote:
interfaces provide classes that allow your pseudo-Booleans to be
interpreted and handled by your program as though they were Booleans. The
proper place to ask your question re the .NET implementation would be the
firebird-net-provider list.
./hb
>I have created a domain called D_Boolean which is currently an integerWell, Firebird doesn't have a Boolean data type. Various programming
>field allowing only 0 or 1.
>
>When I try the following line in C#
>
>if( (bool)row["show_prices"] )
>{
>
>
>}
>
>It errors.
>
>How should I define my boolean data type in order for this to work?
interfaces provide classes that allow your pseudo-Booleans to be
interpreted and handled by your program as though they were Booleans. The
proper place to ask your question re the .NET implementation would be the
firebird-net-provider list.
./hb