Top "Poco" questions

Means Plain Old CLR Object, a simple object that does not follow any object model, convention or framework.

Entity Framework Eager Load Not Returning Data, Lazy Load Does

I'm using code first EF5 and I have an object which has a collection defined as virtual (lazy loaded). This …

c# entity-framework lazy-loading poco
Entity Framework code first: How to ignore classes

This is similar to questions here and here, but those are old and have no good answers. Let's say I …

c# entity-framework poco dbcontext
Foreign Key To Microsoft.AspNet.Identity.EntityFramework.IdentityUser?

I'm in VS 2013 and have just created an MVC application. I'm creating an object I intend to have a foreign …

c# entity-framework ef-code-first poco entity-framework-migrations
OptimisticConcurrencyException Does Not Work in Entity Framework In Certain Situations

UPDATE (2010-12-21): Completely rewrote this question based on tests that I've been doing. Also, this used to be a …

c# asp.net entity-framework concurrency poco
What exactly is "persistence ignorance"?

Persistence ignorance is typically defined as the ability to persist & retrieve standard .NET objects (or POCOs if you really …

nhibernate orm poco data-access persistence-ignorance
How can I use POCO to parse an xml file and extract a particular node to a std::string?

I want to extract an individual node using POCO's libraries but can't figure out how to do it. I'm new …

c++ xml xml-parsing poco sbml
What is the best practice for sending data to the client: POCO or DTO?

I'm starting a project using EF 4 and POCO. What is the best practice for sending data to the client ? Should …

c# .net entity-framework-4 poco dto
Entity framework attach update not working

I'm trying to update a POCO object using entity framework in the following way: context.Jobs.Attach(job); context.SaveChanges(); …

entity-framework poco
What is the best way to instantiate and dispose DbContext in MVC?

MVC 3 + EF 4.1 I'm choosing between two approaches to deal with DbContext: Instantiate in Application_BeginRequest, put it into HttpContext.Current.…

asp.net-mvc entity-framework entity-framework-4.1 poco dbcontext
Is it possible to prevent EntityFramework 4 from overwriting customized properties?

I am using EF 4 Database first + POCOs. Because EF has no easy way to state that incoming DateTimes are of …

c# entity-framework entity-framework-4 poco database-first