The Entity Data Model (EDM) is an implementation for the Entity-Relationship model (commonly called the E-R model). It depicts entities and their relationships. The EDM is a view of the data store that your application will use.
Before we delve deep into our Payroll EDM, let's have a discussion of entities, entity types, relationships, and how these are all represented.
An Entity essentially models individual, real-world objects like employees and customers. Such objects contain information pertaining to the entity. An entity is something that is uniquely definable, distinctly identifiable, and can have one or more of the following properties:
1. It should be easily identifiable through the data that it holds.
2. It should have properties that can hold scalar values that represent the entity's data.
3. It should only contain data, not methods or operations on the data.
4. It can have entity relationship...