tags:

views:

137

answers:

1

I need to create a method that will take Linq-to-sql entity and return a list of all it's children(only 1st generation) entitysets, without any data that entitysets contain, just names. Is there any way I can do that? Thanks

+1  A: 
Sam
Yes, that is what I am looking for, thanks for pointing in that direction. My goal is to create a method that will take both child entity and parent, cast "ThisMember" to appropriate entityset and add a child to there, whatever type that is. Can you help me with that? Your method is definitely a right step.
Victor
This method works even with disconnected entities, thanks so much
Victor