Ok..

Posts   
 
    
MattE avatar
MattE
User
Posts: 77
Joined: 11-Sep-2007
# Posted on: 30-Dec-2010 12:45:13   

The project is pretty large, it would take me some time to strip it down to a workable repro project.

If I have to I will do so but here's some of the other info you asked about. Here is an example error message:

The relationship 'SafariNow.SellerProduct.Accommodation - SafariNow.Accommodation.SellerProduct (1:1)' has been removed because its underlying foreign key constraint wasn't found in the refreshed relational model data.

ANd here is the relevant DDL for the foreign key constraint:

USE [SafariNow]
GO

ALTER TABLE [dbo].[Accommodation]  
WITH NOCHECK ADD  CONSTRAINT [FK_tblAccommodationBb_tblSellerProduct] FOREIGN KEY([Operator_ID])
REFERENCES [dbo].[SellerProduct] ([SPID])
ON UPDATE CASCADE
ON DELETE CASCADE
GO

ALTER TABLE [dbo].[Accommodation] CHECK CONSTRAINT [FK_tblAccommodationBb_tblSellerProduct]
GO


Because LLBLGen feels the model is out of synch it strongly suggests I synch. I ran the following suggested DDL from the SQL generator

USE [SafariNow] GO

ALTER TABLE [dbo].[Accommodation]  WITH CHECK ADD  CONSTRAINT [FK_16aaa434164939c2e7fa910190a] FOREIGN KEY([Operator_ID])
REFERENCES [dbo].[SellerProduct] ([SPID])
GO

ALTER TABLE [dbo].[Accommodation] CHECK CONSTRAINT [FK_16aaa434164939c2e7fa910190a]
GO

So now there are in fact two constraints doing the same thing, but the generator want to drop this relation.

I am running LLBLGEN 3.0 Final

These are the binaries I have:

SD.LLBLGen.Pro.ApplicationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

SD.LLBLGen.Pro.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

SD.LLBLGen.Pro.DBDriverCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

SD.LLBLGen.Pro.GeneratorCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

SD.LLBLGen.Pro.DBDrivers.SqlServerDBDriver, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

Not sure what else you need?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 30-Dec-2010 13:36:07   

The buildnr/date of the designer. it's in the title bar and about box, please. Also, this refers to another thread but I'm not sure which one. Please link to that other thread so we avoid wasting time on hunting down information.

And above all: be sure you run the latest build, by downloading the latest build from the website.

Frans Bouma | Lead developer LLBLGen Pro
MattE avatar
MattE
User
Posts: 77
Joined: 11-Sep-2007
# Posted on: 30-Dec-2010 15:14:49   

Sorry- this was meant to be in response to this:

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=19190

The build date is: August 30th, 2010

I am a little worried about simply getting the latest build, because you gave me some non-production binaries a while ago (to support spatial data types in the designer)

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=15680&StartAtMessage=25

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 30-Dec-2010 15:44:30   

MattE wrote:

Sorry- this was meant to be in response to this:

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=19190

The build date is: August 30th, 2010

I am a little worried about simply getting the latest build, because you gave me some non-production binaries a while ago (to support spatial data types in the designer)

http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=15680&StartAtMessage=25

We don't use special branches of our code for customers, so your code has been rolled into the main code base since it was released to you. So you can safely get the build from the website, it should work as the original temp build given to you as it's the same code simple_smile

Frans Bouma | Lead developer LLBLGen Pro
MattE avatar
MattE
User
Posts: 77
Joined: 11-Sep-2007
# Posted on: 17-Jan-2011 15:49:23   

I downloaded the latest build, and this appears to have resolved this issue.

thanks