H Mihail
H Mihail

Reputation: 623

ServiceStack OrmLite LastInsertId for Firebird provider

Is there a way to get the ID of the entity after it is inserted in Firebird?

If I do this dbConn.Save(Entity); I gen an exception returning last inserted identity is not implemented on this db provider.

I can do SELECT NEXT VALUE FOR GEN_.... but I was wondering if there is a simpler way. Thanks!

Upvotes: 1

Views: 26

Answers (0)

Related Questions