Generated code for SQL Server db won't build

Generated code for SQL Server db won't build

Postby gregors613 » Tue 08 Apr 2014 15:20

I took an existing database, created a database first model, generated code and it won't build. There are lots of errors like the following
[DCC Error] AsiDataModel.MetaData.pas(1384): E2003 Undeclared identifier: 'dbInteger'
[DCC Error] AsiDataModel.MetaData.pas(1385): E2003 Undeclared identifier: 'dbString'
[DCC Error] AsiDataModel.MetaData.pas(1391): E2003 Undeclared identifier: 'dbDateTime'

so it looks like there is a unit that wasn't included in the generated code. Any idea how to fix this so I can carry on trying the beta?
gregors613
 
Posts: 6
Joined: Mon 01 Oct 2012 12:43

Re: Generated code for SQL Server db won't build

Postby AlexP » Wed 09 Apr 2014 08:59

Hello,

These types were in the beta version 1.0.2, the corresponding types in the version 1.0.3 are: etInteger, etString, etDateTime. To solve the problem, you should regenerate your model in the latest EntityDeveloper version.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Generated code for SQL Server db won't build

Postby gregors613 » Wed 09 Apr 2014 13:07

I am using 1.0.3 ( and to make sure I just downloaded and re-installed the current version from the web site )
gregors613
 
Posts: 6
Joined: Mon 01 Oct 2012 12:43

Re: Generated code for SQL Server db won't build

Postby AlexP » Thu 10 Apr 2014 08:37

Thank you for the information. We will try to upload the new version with the fixed templates in EntityDeveloper today.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC