I\'m using Dapper to hammer out some load testing tools that need to access a PostgreSQL database. This particular version of PostgreSQL does not support GUIDs natively, so
I hope that can help.
I didn't have to use alias in my query. What I did:
public abstract class Entity { protected Entity() { Id = Guid.NewGuid().ToString(); } public string Id { get; set; } }
And in your table the type as varchar