Entity Framework is an ORM framework for .NET applications. We specify the mapping between .NET classes and corresponding database tables. Tables are related to one another. The common relations are One-to-One, One-to-Many or Many-to-Many.
- One-to-One: Record in TableA maps to a record in TableB.
- One-to-Many: Record in TableA maps to multiple records in TableB.
- Many-to-Many: Record in TableA maps to multiple records in TableB and one record in TableB maps to multiple records in TableA.