Hi folks,
LLBLGen Version: 3.1 Final (Adapter)
DB: Firebird 2.1
i use FetchTypedList to query a C# DataTable with two columns.
On the one hand there is a simple field in ResultsetFields (ItemFields.ID), on the other hand i use a DbFunctionCall to call "case when" integrated in Firebird.
DbFunctionCall funcStockUnderRun = new DbFunctionCall("case when ({0} < {1}) then 1 else 0 end", new object[] { ItemFields.Stock, ItemFields.MinStock });
The function returns 1 or 0 of type int if the statement is true or not.
How can i add a TypeConversation, to get an bool column in the resulting DataTable ?
regards
Christian