c# - How to map binary(16) to Guid using NPOCO? -


i have table in mysql database below structure

mysql database structure

how map primary key affiliatesiteid binary(16) guid using npoco in c# net core?

i guess can create guid using affiliatesiteid.

ex. if affiliatesiteid string can create guid follows have no idea npoco.

var siteid = new guid(affiliatesiteid); 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -