Thursday, October 18, 2012

PetaPoco and uuid_short() function in MySQL

I am trying to use PetaPoco Micro ORM with uuid_short() with no success. I wonder how it's possible to create and insert command with PetaPoco taking advantage of the uuid_short() function that built in MySQL to generate a unique bigint number?

I've sent this question to TopTenSoftwrae and hope to get a reply soon:

Hi there, really need your help on a very simple question.
I am using uuid_short() function in MySQL to generate the primary key on insert, and I wanted to know how can I use PetaPoco to insert a record and use uuid_short() functino in order to generate a primary key for the inserted record?
Thanks.

No comments:

Post a Comment