Dapper CRUD with GUID Ids

dapper dapper-extensions orm

Question

I'm pretty new to Dapper and Dapper.SimpleCRUD (https://github.com/ericdc1/Dapper.SimpleCRUD) so please excuse if I'm being a bit dense. I have an existing database that uses GUID Ids (primary keys) rather than auto incremented int Ids. It seems that Dapper/SimpleCRUD assumes the latter. I guess I may be able to find an alternative (dapper extensions maybe?) but I was wondering if anyone had come across this and adapted it/found some other solution. Dapper Extensions (https://github.com/tmsmith/Dapper-Extensions) also appears to be based on int Ids. Your advice appreciated.

Popular Answer

This a clearly a late reply but Dapper.SimpleCRUD now has support for GUID primary keys.

https://www.nuget.org/packages/Dapper.SimpleCRUD



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why