Automatic Property Set for GUID

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
FlorianDahn
Posts: 26
Joined: Thu 06 Feb 2020 18:23

Automatic Property Set for GUID

Post by FlorianDahn » Mon 18 Apr 2022 14:52

Hey,

when using an int or bigint type in an sql database column and importing into a model the column properties will be set for "Auto Generated Value" to true and for "Auto-Sync" to "OnInsert".

Would be great when choosing uniqueidentifier (GUID) in an sql database and importing into a model both properties are also set when the default value of the column is "newid()".

Maybe you got this already, but I havent found it yet.

Thank you!
Warm regards
Florian Dahn

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

Re: Automatic Property Set for GUID

Post by Shalex » Tue 03 May 2022 17:16

Thank you for your suggestion. We will improve the behavior to set Auto Generated Value=True and Auto-Sync=OnInsert for UNIQUEIDENTIFIER DEFAULT (newid()) columns automatically.

FlorianDahn
Posts: 26
Joined: Thu 06 Feb 2020 18:23

Re: Automatic Property Set for GUID

Post by FlorianDahn » Fri 06 May 2022 15:36

Shalex wrote: Tue 03 May 2022 17:16 Thank you for your suggestion. We will improve the behavior to set Auto Generated Value=True and Auto-Sync=OnInsert for UNIQUEIDENTIFIER DEFAULT (newid()) columns automatically.
Perfect! Thank you!

FlorianDahn
Posts: 26
Joined: Thu 06 Feb 2020 18:23

Re: Automatic Property Set for GUID

Post by FlorianDahn » Mon 04 Jul 2022 13:44

*push*

Due to the latest update I hoped you got this already, sadly you didnt. How long will you need to add?
Cause im starting a new project right now.

Thanks

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

Re: Automatic Property Set for GUID

Post by Shalex » Fri 07 Oct 2022 10:06

The investigation is in progress. We cannot provide a timeframe at the moment.

Post Reply