From: Marco C. <mc...@mc...> - 2014-08-12 13:47:55
|
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 |