InterviewSolution
| 1. |
Explain POCO Classes in EF. |
|
Answer» POCO stands for 'Plain Old CLR Objects'. YET, it does not mean these CLASSES are plain or old. A POCO class is DEFINED as a class that contains no reference to the EF Framework or the .NET Framework at all. In EF applications, Poco entities are known as available domain objects. POCO class is just like other normal .NET classes as these classes don't depend on any framework-specific base class, unlike the standard .NET class. Persistence-ignorant objects, or POCOs, support LINQ QUERIES, which are SUPPORTED by entities derived from the Entity Object itself. Both EF 6 and EF Core support POCO entities. |
|