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

Guid key type and Oracle

Open unipeg opened this issue 6 years ago • 1 comments

I use POCOs with Guid as keys. This works fine with DapperExtensions under SqlServer. I want this to work for Oracle also, which have no Guid datatype, so I use RAW(16) in my oracle table. When I insert a row I get an [https://github.com/StackExchange/Dapper/issues/633](value does not fall within the expected range) exception.

unipeg avatar Nov 10 '18 13:11 unipeg

I would suggest you to use string instead of raw(16). Tell me if it works. Next version has lots of improvements.

valfrid-ly avatar May 06 '21 20:05 valfrid-ly