Okay I have a sample using the following database
CREATE TABLE [dbo].[Table1] (
[ID] [int] NOT NULL ,
[DateCeated] [datetime] NOT NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[Table2] (
[ID] [int] NOT NULL ,
[Table1ID] [int] NOT NULL ,
[Table3ID] [int] NOT NULL ,
[AdditionalProperty] [money] NOT NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[Table3] (
[ID] [int] NOT NULL ,
[DateCreated] [datetime] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Table1] WITH NOCHECK ADD
CONSTRAINT [PK_Table1] PRIMARY KEY CLUSTERED
(
[ID]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Table2] WITH NOCHECK ADD
CONSTRAINT [PK_Table2] PRIMARY KEY CLUSTERED
(
[ID]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Table3] WITH NOCHECK ADD
CONSTRAINT [PK_Table3] PRIMARY KEY CLUSTERED
(
[ID]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Table2] ADD
CONSTRAINT [FK_Table2_Table1] FOREIGN KEY
(
[Table1ID]
) REFERENCES [dbo].[Table1] (
[ID]
),
CONSTRAINT [FK_Table2_Table3] FOREIGN KEY
(
[Table3ID]
) REFERENCES [dbo].[Table3] (
[ID]
)
GO
I then
1) loaded this into LLBLGEN and made sure I had all 3 entities
2) went to Table3 and removed its Table1 (from fields mapped on relations).
3) generated the code using "two class scenario full/safe - 2003".
4) loaded the project in VS.NET and compiled
I then get the following errors generated
E:\sources\windows\Pseudo\EntityBaseClasses\Table1EntityBase.cs(566): 'Pseudo.CollectionClasses.Table3Collection' does not contain a definition for 'GetMultiManyToManyUsingTable1'
E:\sources\windows\Pseudo\EntityBaseClasses\Table1EntityBase.cs(587): 'Pseudo.CollectionClasses.Table3Collection' does not contain a definition for 'GetMultiManyToManyUsingTable1'
and on both occasions it is the fllowing line of code
_table3.GetMultiManyToManyUsingTable1(this);