
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Mandatory and optional Participation
Mandatory and optional participation are observed in E-R models between 2 different entities.
Mandatory Participation
In the mandatory participation, for every instance of entity A, there must exist an instance of entity B and vice versa.
An example of Mandatory participation would be relationship between mother and child. The child entity would exist only if there were a mother and similarly a mother would exist only if there were a child
Optional participation
In optional participation, it is not necessary for all the instances of the entity to participate in a relationship. It may be that the number of instances participating for a particular entity may even be zero.
Optional participation is good for depicting relationships that are not compulsory or may be temporary i.e relationships that may change over a period of time.
An example of this is Entity A is married to Entity B. Not all instances partake in this relationship and the relationship may even change over time.
- Related Questions & Answers
- Entity Relationship Participation in Database
- Java 8 Optional Class
- Pseudo mandatory parameters in JavaScript
- Role of CSS :optional Selector
- Optional chaining operator in JavaScript.
- Optional Parameters in Dart Programming
- Optional property in a C# class
- Handling optional/empty data in MongoDB?
- Explain Optional Catch Binding in JavaScript.
- Skipping mandatory fields in an ABAP screen
- Is it mandatory to close JDBC connections?
- Is it mandatory to link my Aadhaar with bank account and mobile?
- What are optional arguments in JavaScript Functions?
- What is an Optional parameter in C#?
- Newman Optional Parameters & Configurations using Postman