Generated code for SQL Server db won't build
Posted: 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?
[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?