linq2mysql beta Auto-Sync: OnInsert for autoincrement PK

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
[email protected]
Posts: 27
Joined: Mon 08 Sep 2008 16:37

linq2mysql beta Auto-Sync: OnInsert for autoincrement PK

Post by [email protected] » 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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 07 Oct 2008 15:59

This functionality (the "Auto-Sync=OnInsert" property support in Schema Modeler) is implemented in the 1.00.2 version of LINQ Support Beta. I will notify you when it will be available for download from our site.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 08 Oct 2008 09:44

LINQ to MySQL Support version 1.00.2 Beta is available!
Please refer to http://www.devart.com/forums/viewtopic.php?t=13062

Post Reply