Failing test: MsSql GetLastInsertedId does not work with InsertParam.

The executed statements from SQL profiler:
 - Normal Insert:
    INSERT INTO "SimpleType" ("Name") VALUES ('test')
    SELECT SCOPE_IDENTITY()

 - InsertParam:
    exec sp_executesql N'INSERT INTO "SimpleType" ("Name") VALUES (@Name)',N'@Name nvarchar(4)',@Name=N'test'
    SELECT SCOPE_IDENTITY()

If I'm right, this happens because sp_executesql runs in it's own batch/scope.
Merge pull request #196 from AkosLukacs/InsertParam_GetLastInsertId

Failing test: MsSql GetLastInsertedId does not work with InsertParam.