I just started learning POCO but cannot understand its use and advantage. Even following link of stackoverflow did not help me.
what is Entity Framework with POCO
Can anybody explain the usage of POCO with a simple example?
POCOs(Plain old CLR objects) are simply entities of your Domain. Normally when we use entity framework the entities are generated automatically for you. This is great but unfortunately these entities are interspersed with database access functionality which is clearly against the SOC (Separation of concern). POCOs are simple entities without any data access functionality but still gives the capabilities all EntityObject functionalities like
Here is a good start for this
You can also generate POCOs so easily from your existing Entity framework project using Code generators.