[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dtp] generate entities problem with sql server

Hi, when I generate entities against a SQL Server 2005 database, entity relationships are not being generated. Foreign key constraints are defined for the database.

I've shown a constraint definition below which I got from Microsoft SQL Server Management Studio. Any help is appreciated - Ted

ALTER TABLE [dbo].[ALL_EQUIPMENT] WITH NOCHECK ADD CONSTRAINT [FK_EQUIPMENT_SUM_AFFILIATION] FOREIGN KEY([AFFILIATION])
REFERENCES [dbo].[L_AFFILIATION] ([AFFILIATION_CODE])
NOT FOR REPLICATION