linq2mysql beta Auto-Sync: OnInsert for autoincrement PK
Posted: Fri 03 Oct 2008 13:27
Hi,
When i generate a c# model, having INT as a primary key, i recieve the message that the autosync of the PK should be 'onInsert'.
This seems logical, but i do not know how to do this in the generated c# class. (the run generator for model option).
I cannot change the model and regenerate the class, can i ?
I've also read this post : http://www.devart.com/forums/viewtopic. ... t=autosync
This guy seems to have done it somehow.
Thanks in advance. Yuri.
When i generate a c# model, having INT as a primary key, i recieve the message that the autosync of the PK should be 'onInsert'.
This seems logical, but i do not know how to do this in the generated c# class. (the run generator for model option).
I cannot change the model and regenerate the class, can i ?
I've also read this post : http://www.devart.com/forums/viewtopic. ... t=autosync
This guy seems to have done it somehow.
Thanks in advance. Yuri.