Relationships between entities

Take for example the student information

Discover all student records, grades contain name

Student entity class table

Grade Table entity class

Dao layer

Test category

 

 

There are four relationships between entities

  1. One to One

  2. many

  3. Many-to

  4-many

Guess you like

Origin www.cnblogs.com/wangdayexinyue/p/10945123.html