Is it better to call
ObjectContext.AddToSomeEntitySet()? Short answer is: It doesn’t matter.
Long answer. The AddToSomeEntitySet method calls
base.AddObject("SomeEntitySet", someEntitySet);, you can see it from generated code. The other method calls
base.Context.AddObject(this.FullyQualifiedEntitySetName, entity);. Hence it’s almost the same. Only difference is in
FullyQualifiedEntitySetName property that is used. So it might be little bit slower, but I think it’s unmesurable difference. Also take into account other parts of your application, honestly, where you’re probably wasting more time. 8-)
What’s your preferred call?