Viewing 9 posts - 1 through 9 (of 9 total)
But I prefer not to change the way I store the data, I think with the Id and NextId way is enough. I don't want to complicate things by using...
May 13, 2009 at 9:06 am
Bad news, cycles has to be considered =P
Let's say we have:
A->B->C->A
create table #ObjectRelations
(
Id varchar(20),
NextId varchar(20)
)
insert into #ObjectRelations values ('A', 'B')
insert into #ObjectRelations values ('B', 'C')
insert into #ObjectRelations values ('C',...
May 12, 2009 at 11:21 pm
@ken: Sorry, didn't see your reply, but yes, that works! =)
May 12, 2009 at 10:28 pm
This works!
create table #ObjectRelations
(
Id varchar(20),
NextId varchar(20)
)
insert into #ObjectRelations values ('G', 'B')
insert into #ObjectRelations values ('A', 'B')
insert into #ObjectRelations values ('B', 'C')
insert into #ObjectRelations values ('B', 'X')
insert into #ObjectRelations values...
May 12, 2009 at 10:26 pm
So I've got this approach:
create table #ObjectRelations
(
Id varchar(20),
NextId varchar(20)
)
insert into #ObjectRelations values ('G', 'B')
insert into #ObjectRelations values ('A', 'B')
insert into #ObjectRelations values ('B', 'C')
insert into #ObjectRelations values ('B', 'X')
insert...
May 12, 2009 at 10:22 pm
You're right, they're not the same thing.
It's a multi-parent tree. It doesn't have cycles and it's connected.
Sorry for the mislabeling in the topic title
May 12, 2009 at 10:12 pm
Yes, that could work. I've tried that, I think I can determine the starting objects in first place...
What it's not satisfying me is that G->B is the last row and...
May 12, 2009 at 9:49 pm
Hi Mike, thanks for the quick reply =P
For what I've been told on Irony forums.. it does use several 3.5 specific features, but they think your code is not using...
December 15, 2008 at 9:23 pm
Is there any possibility to use this using .NET 2.0? Because our project is under 2.0 and developed using VS 2005. We can't push the whole project to 3.5 to...
December 15, 2008 at 2:04 pm
Viewing 9 posts - 1 through 9 (of 9 total)