Hi,

Sorry for late reply.

> What is the precision and scale of the DECIMAL?

Is 18,2

> Have you created a dialect 1 (deprecated) or dialect 3 database?

I haven't specified any dialect. I thought that without specifying one it would set the default to 3 but it isn't.
I created again the DB using dialect 3 and it is working without any problem. The return value is not decimal.

Btw, is there a reason why the dialect defaults to 1 instead of 3 when using FbConnectionStringBuilder?

Thank you,
David


On Thu, Mar 20, 2014 at 4:05 AM, Mark Rotteveel <mark@lawinegevaar.nl> wrote:
On Thu, 20 Mar 2014 03:51:23 -0600, David De Smet <idaviddesmet@gmail.com>
wrote:
> I'm using LLBLGen for creating the script and model.
>
> The script for creating the DB is DECIMAL, so is the DB end result. I
> verified with Flamerobin.

What is the precision and scale of the DECIMAL?

> The model is also decimal and when writing .NET code the value I'm
passing
> for save is decimal. But as said, the return value is Int64 or long if
> coding in C#.
>
> I'm using Firebird Embedded.

Have you created a dialect 1 (deprecated) or dialect 3 database?

Mark

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider