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?
Generated code for SQL Server db won't build
Re: Generated code for SQL Server db won't build
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.
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.
-
- Posts: 6
- Joined: Mon 01 Oct 2012 12:43
Re: Generated code for SQL Server db won't build
I am using 1.0.3 ( and to make sure I just downloaded and re-installed the current version from the web site )
Re: Generated code for SQL Server db won't build
Thank you for the information. We will try to upload the new version with the fixed templates in EntityDeveloper today.