views:

377

answers:

1

Is there a way to set default child entities for a new entity without having to query all of them using ObjectQueries?

+1  A: 

Sort of. You can set the EntityKey directly. This means you will not be able to access the value of the child entity, but sometimes you don't need to do that. There is information about doing this in this post.

Craig Stuntz
Nice! Exactly what I was looking for. I guess you're a lot smarter than the downvoters, Craig. I thought my question was worded in a fairly straightforward manner...
Damien