Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I want to use the MergeOption as it is mentioned in this article to speed up my code.

I use the Entity Framework (4.4.0.0) to access data in a SQL Server Database. I can get the context and the data tables but for example the call

C#
myContext context = new myContext();
var objects = context.object;


fills objects with a DbSet and not with a ObjectQuery. But only ObjectQuery seems to have the MergeOption property.

Am I missing something?

Bye,

Stefan
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900