Kristi Castro has Published 92 Articles

Object-oriented Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:49:22

19K+ Views

Object oriented data model is based upon real world situations. These situations are represented as objects, with different attributes. All these object have multiple relationships between them.Elements of Object oriented data modelObjectsThe real world entities and situations are represented as objects in the Object oriented database model.Attributes and MethodEvery object ... Read More

How to check if event exists on element in jQuery?

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:47:44

4K+ Views

To check if event exists on element in jQuery, check for the existing events on the element. Here, I have set the div −   This is demo text. Click here! When you click div, then the alert generates which I have set using the div id:$("#demo").click(function() {   alert("Does event ... Read More

Object-relational Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:19:14

25K+ Views

An Object relational model is a combination of a Object oriented database model and a Relational database model. So, it supports objects, classes, inheritance etc. just like Object Oriented models and has support for data types, tabular structures etc. like Relational data model.One of the major goals of Object relational ... Read More

Ternary Relationship in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:45:23

14K+ Views

In Ternary relationship three different Entities takes part in a Relationship.Relationship Degree = 3For Example: Consider a Mobile manufacture company.Three different entities involved:Mobile - Manufactured by company. Part - Mobile Part which company get from Supplier. Supplier - Supplier supplies Mobile parts to Company.Mobile, Part and Supplier will participate simultaneously in a ... Read More

One-to-One Unary Relationship in DBMS

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:32:24

3K+ Views

A One-to-One Unary Relationship is the association with the same entity between the same instances represented by same role group.Above figure represents a set of married persons with the relationship MARRIED_TO. Each person is married to only one and only one person in the group.In One-to-One Unary we have three ... Read More

One-to-Many Unary Relationship in DBMS

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:27:09

3K+ Views

A One-to-Many Unary Relationship is the association with the same entity between the same instances represented by different role groups.Consider the relationship between Managers and Employees.The two different Roles in this relationship are- Managers and Employees. Only few Employees take the role of Managers within an organization while everyone working ... Read More

Binary Relationship in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:22:05

10K+ Views

A Binary Relationship is the relationship between two different Entities i.e. it is a relationship of role group of one entity with the role group of another entity.There are three types of cardinalities for Binary Relationships −1. One-to-One2. One-to-many3. Many-to-ManyOne-to-OneHere one role group of one entity is mapped to one ... Read More

Entity Relationship Participation in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:06:04

25K+ Views

In a Relationship, Participation constraint specifies the existence of an entity when it is related to another entity in a relationship type. It is also called minimum cardinality constraint.This constraint specifies the number of instances of an entity that can participate in a relationship type.There are two types of Participation ... Read More

Bootstrap 4 .border-primary class

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 14:13:04

212 Views

Add a blue border to an element in Bootstrap 4 using the border-primary class as shown below:Set the class as −   Blue Border You can try to run the following code to implement the border-primary class −ExampleLive Demo       Bootstrap Example       ... Read More

Bootstrap 4 .border-right-0 class

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 14:11:24

387 Views

Use the border-right-0 class in Bootstrap to remove the right border.To remove the right border −   Rectangle is missing the right border. Style the div as −.mystyle {   width: 350px;   height: 170px;   margin: 10px; }You can try to run the following code to implement the border-right- ... Read More

Advertisements