GetSchema("Columns") has wrong values concerning not-null columns. The result DataTable of the FbConnection.GetSchema("Columns") method sets the column "is_nullable" as follows: If the database column itself is set to "not null" or if this column is part of the primary key, it returns is_nullable as correct value "1" resp. "true". If the database column is defined via domain and the domain is set to "not null", the column value "is_nullable" nevertheless returns incorrectly "1" resp. "true", but not the expected correct value "0" resp. "false". This works both with NET Provider 2.0.1.0 (value type as short) and 2.1.0.0 (value type as bool). --
Juergen
Thomas Germany |
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider