1 / 13

2° COMPITO

2° COMPITO. VANIA PASCALE MATRICOLA 566409. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE.

ermin
Download Presentation

2° COMPITO

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 2° COMPITO VANIA PASCALE MATRICOLA 566409

  2. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE DOMINIO APPLICATIVO : il dominio applicativo è rappresentato da tutte le entità coinvolte nella biblioteca personale di un soggetto che frequentemente presta dei libri ai propri amici, ed in particolare quelle entità relative ai prestiti quali nome o soprannome degli amici ed i libri prestati.

  3. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE SCHEMA ENTITA’ - RELAZIONI : N : N AMICI LIBRI N : 1 1 : N PRESTITI

  4. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE CONCETTUALE : consideriamo le seguenti entità : AMICI LIBRI

  5. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE CONCETTUALE: per ogni entità sono stati individuati i seguenti attributi AMICI ID AMICO NOME AMICO SOPRANNOME AMICO LIBRI ID LIBRO TITOLO LIBRO

  6. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE DEFINIZIONI DELLE RELAZIONI : 1 : N AMICI N : 1 LIBRI N : N La relazione N : N è caratterizzata dal fatto che ad ogni record dell’archivio “Amici” sono associati più record dell’archivio “Libri” e viceversa. Dalla relazione N : N deriva una ulteriore entità (Prestiti) PRESTITI

  7. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE CONCETTUALE: per l’entità “prestiti” sono stati individuati i seguenti attributi PRESTITI ID PRESTITO CAMPO LINK DELLA TABELLA AMICI CAMPO LINK DELLA TABELLA LIBRI DATA FINE PRESTITO

  8. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE LOGICA: definizione delle caratteristiche e degli attributi TABELLA AMICI

  9. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE LOGICA: definizione delle caratteristiche e degli attributi TABELLA LIBRI

  10. GESTIONE DEI PRESTITI DI UNA BIBLIOTECA PERSONALE PROGETTAZIONE LOGICA: definizione delle caratteristiche e degli attributi TABELLA PRESTITI

  11. BASE DATI OSPEDALE • LE CHIAVI : • PRIMARIE • Attributo “codice” della tabella “Pazienti” • Attributo “codice” della tabella “Reparti” • Attributo “matricola” della tabella “Medici” • SECONDARIE • Attributo “nome” della tabella “Pazienti” • Attributo “nome” della tabella “Reparti” • Attributo “nome” della tabella “Medici” • Attributo “cognome” della tabella “Medici”

  12. BASE DATI OSPEDALE • I VINCOLI DI INTEGRITA’ REFERENZIALE : • Attributo “primario” della tabella “Reparti” • Attributo “paziente” della tabella “Ricoveri” • Attributo “reparto” della tabella “Ricoveri” • Attributo “reparto” della tabella “Medici”

  13. BASE DATI OSPEDALE • ATTRIBUTI CON VALORI NULLI : Eventuali valori nulli si potranno ammettere solo in quei attributi che non hanno la funzione di “chiave” all’interno delle tabelle del Data Base, soprattutto nelle “chiavi primarie” dove l’eventualità di inserire valori nulli è esclusa.

More Related