In Dapper.Contrib/SqlMapperExtensions.cs
The Insert function should be using scope_identity() rather than @@identity in
case there are triggers running on the insert of records that insert into or
update another table with an identity column.
Is there any reason for why it's using @@identity (compatibility perhaps)?
What version are you using? c9160c13fb45
Original issue reported on code.google.com by joseph.a...@gmail.com on 19 Jan 2012 at 11:57
Original issue reported on code.google.com by
joseph.a...@gmail.com
on 19 Jan 2012 at 11:57