No of visitors who read this post: 404
Category: MySQL Server
Type: Question
Author: Laxman1996
No votes yet

What is the difference between an event and an entity? Give an example of your own.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

An entity is an object in the real world that has some existence whether material or immaterial. However, an event is not at all an entity. An event is something that happens / occurs on a specific action / call / request. The process that triggers the action is an event. An entity can be used to trigger an event however an event cannot call fro the entity. Many Entities work together for a particular purpose to be fulfilled. However many events can happen on a particular entity. In other words, an event is a happening in the real world. The entity may trigger the event for a purpose of fulfillment.