Dapper-Extensions icon indicating copy to clipboard operation
Dapper-Extensions copied to clipboard

Support for Uniqueidentifier type as Id

Open squidge opened this issue 13 years ago • 1 comments

It seems Insert command tries to convert type System.Guid to int

squidge avatar Apr 23 '13 08:04 squidge

Dapper checks the type of the Id field. If it is Guid or Nullable then it will set the KeyType to Guid. If this is not happening, please send me an example.

tmsmith avatar Aug 06 '13 22:08 tmsmith