Kristi Castro has Published 98 Articles

One-to-One Unary Relationship in DBMS

Kristi Castro

Kristi Castro

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

2K+ 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

2K+ 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

7K+ 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

20K+ 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

146 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

291 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

Bootstrap Event when the modal is about to be hidden

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 14:09:08

57 Views

The hide.bs.modal event in Bootstrap fires when the modal is about to be hidden.Firstly, hide the Bootstrap modal on button click −$("#button1").click(function(){   $("#newModal").modal("hide"); });Now, use the hide.bs.modal class and generate the alert when the modal is about to hide on button click −$("#newModal").on('hide.bs.modal', function () {   alert('The modal ... Read More

Display flex items vertically in Bootstrap 4

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 14:06:53

195 Views

To display flex items vertically, use the flex-column class in Bootstrap 4 −Now set the flex-items in it −   One   Two   Three   Four   Five Let us see an example to learn how to learn how to display flex-column class −   ExampleLive Demo   ... Read More

Set a light grey border to an element in Bootstrap 4

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 12:59:34

335 Views

To set a light grey border to an element, use the border border-light class in Bootstrap 4.Adding a light border is easy as shown below −   This element has light border You can try to run the following code to implement the border-light-class −ExampleLive Demo     ... Read More

Create an inline flexbox container in Bootstrap 4

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 08:43:16

283 Views

To create an inline flexbox container, you need to work with d-inline-flex class in Bootstrap 4 −Use the d-inline-flex class −And then set the flex items inside it as in the following code snippet −     One   Two   Three You can try to run the following code ... Read More

Advertisements