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

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -