Creating dialect mapping ulong to postgres numeric

10 views
Skip to first unread message

Michael W Powell

unread,
Jun 19, 2025, 12:45:57 AMJun 19
to nhusers
Hello,

Would someome mind advising, I have a ulong in the domain model I need to map to pg database domain ulong, a numeric(20,0). There is also a uint, which is numeric(10,0). However, my guess is, when we establish a proper ulong support, the uint should be easy.


Guessing we at least need a IUserType implementation. How generic that can be and support integral types on both sides of the SQL data types and pg data types side, is the question.

I would also like to remain focused on just what we need, but if we can establish a degree of easy reuse, that's beneficial as well.

Looking forward to any insights.

Best,

Michael W. Powell

Reply all
Reply to author
Forward
0 new messages