linq2db / linq2db.LINQPad

linq2db.LINQPad is a driver for LINQPad.
MIT License
74 stars 23 forks source link

Error when reading Guid from Sql Azure. #83

Closed orges-kreka closed 1 year ago

orges-kreka commented 1 year ago

I am trying to dump the results of a view, that view contains a column of type Guid ( sql type uniqueidentifier ) and so linqpad throws me this error: image I was inspecting the object and i was seeing that its sql type is as nvarchar(36) and the property type is string.

How can i set a custom mapping for this like its done in the Linq2Db, example.

MaceWindu commented 1 year ago

It doesn't look like issue in linq2db.LINQPad driver as I don't see any linq2db-related code in stack trace.

MaceWindu commented 1 year ago

Closing as it is not related to linq2db driver