Top "Objectcontext" questions

Core class within Entity Framework.

c# working with Entity Framework in a multi threaded server

What is the best practice for working with entity framework in a multi threaded server? I'm using entity framework ObjectContext …

c# database multithreading entity-framework objectcontext
Entity Framework - Where is my Object Context?

Ok, I'm obviously missing something very basic. I'm very new to Entity Framework. I want to call stored procedures without …

entity-framework objectcontext
Entity Framework - refresh objects from database

I'm having trouble with refreshing objects in my database. I have an two PC's and two applications. On the first …

wpf database entity-framework objectcontext
How to delete a list of object using ObjectContext?

Say you have code like this . using (CustomerContext db = new CustomerContext()) { var foundCustList=db.Customers.Where(c=>c.State==…

entity-framework objectcontext
'ObjectContext' vs 'DbContext' in Entity Framework

I'm using the DbContext class within code that I am creating that is based on the Generic Repositories and Unit …

.net entity-framework dbcontext objectcontext
How to refresh ObjectContext cache from db?

We are loading data from db: var somethings = Context.SomethingSet.ToList(); Then someone deletes or adds rows outside of context. …

c# .net entity-framework objectcontext
How do I foreach through my dbcontext entities in EF 4.1?

I'm using ASP.NET Entity Framework 4.1 MVC 3 (C#) I want to foreach through all the entities in my DbContext. I …

entity-framework asp.net-mvc-3 objectcontext objectstatemanager dbcontext
How to add entity-framework to console application (images are included)

I try to add entity-framework to console application: I press "add new item" and then then then I added code: …

c# asp.net database entity-framework objectcontext
ExecuteStoreQuery with Dbcontext

I want to use ExecuteStoreQuery function of Entity Framework and I was wondered that my context variable didn't have ExecuteStoreQuery …

c# linq entity-framework objectcontext dbcontext