Hello, This procedure seems to be not working. I tried in MSSQL provider and it worked.
var r = entity.Database.SqlQuery<counter>( "Select Gen_id(COUNTER, 1) cnt from rdb$database", new object[]{}); When I try to read "r" it returns this message: Invalid attempt of read when the reader is closed. Thanks, Marco Castro ------------------------------------------------------------------------------ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider