Page 1 of 1

Generate Database from Model creates wrong Create Statement

Posted: Fri 05 Jun 2015 15:01
by Zero-G.
Hey

Using your latestes tool
I have a field, which is varbinary(max)
the creation script creates code like this:

Code: Select all

CREATE TABLE dbo.kundenbild (
   ID UNIQUEIDENTIFIER NOT NULL,
   Bild VARBINARY(MAX) DEFAULT ('0x'),
the 0x is not allowed to be surrounded by ' the Statement should be:

Code: Select all

CREATE TABLE dbo.kundenbild (
   ID UNIQUEIDENTIFIER NOT NULL,
   Bild VARBINARY(MAX) DEFAULT (0x),
THX

Re: Generate Database from Model creates wrong Create Statement

Posted: Tue 09 Jun 2015 08:24
by MariiaI
We have contacted you by e-mail.

Re: Generate Database from Model creates wrong Create Statement

Posted: Tue 16 Jun 2015 15:42
by Zero-G.
Hey

Did you get my Project? - I have resent it, but still didn't get any Response

THX

Re: Generate Database from Model creates wrong Create Statement

Posted: Thu 18 Jun 2015 07:06
by MariiaI
Your letter was blocked by our mail filter for some reason.
We are investigating your project. Are you encountering the same error as described here or any other one?

Also, we have fixed the bug with the quoting default values of the VARBINARY(MAX) and UNIQUEIDENTIFIER columns when performing Update Database From Model and Generate Database Script wizards.
The fix will be included in the next public build of LinqConnect, which we plan to release this week.

Re: Generate Database from Model creates wrong Create Statement

Posted: Fri 19 Jun 2015 07:20
by MariiaI
The bug with the quoting default values of the VARBINARY(MAX) and UNIQUEIDENTIFIER columns when performing Update Database From Model and Generate Database Script wizards is fixed.
New build of LinqConnect 4.4.775 is available!
It can be downloaded from http://www.devart.com/linqconnect/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=31&t=31997.