Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent Child Relationships
Message
From
15/12/2009 03:25:32
 
 
To
15/12/2009 00:17:37
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01438981
Message ID:
01439119
Views:
40
Hi,

I think it's possible to get round that restriction by having one side of the equation reference the DLL rather than the project.
BUT I AM NOT RECOMMENDING IT (g)
Having said that I thought I read somewhere that a couple of the core Framework assemblies actually do reference each other.......

>If both classes are in the same project, there is no circular reference. If they're in different projects, then you won't be able to do it because then it *would* be a circular reference and Visual Studio won't allow that.
>
>~~Bonnie
>
>
>
>>Sometimes when creating a parent child relationship the child may need to know who it's parent is.
>>
>>I can do that easy enough by passing the parent reference in the constructor for the child.
>>
>>In C# do I need to worry about the circular reference I've just created?
Previous
Reply
Map
View

Click here to load this message in the networking platform