Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workshopdb:database [2010/11/04 10:37]
smayr
workshopdb:database [2010/11/04 14:11] (current)
smayr
Line 333: Line 333:
 == Entity Relationship Diagram == == Entity Relationship Diagram ==
 {{:workshopdb:workshopdb-erd.png|WorkshopDB: Entity Relationship Diagram}} {{:workshopdb:workshopdb-erd.png|WorkshopDB: Entity Relationship Diagram}}
 +
 +== Relation Scheme Diagram ==
 +{{:workshopdb:workshopdb-relationschemediagram.png|WorkshopDB: Relation Scheme Diagram}}
  
 == DataSet == == DataSet ==
Line 351: Line 354:
  
         // use a table adapter to populate the Attendee datatable using ATTENDEE table         // use a table adapter to populate the Attendee datatable using ATTENDEE table
-        datasetWorkshopDBTableAdapters.ATTENDEETableAdapter adapt = new datasetWorkshopDBTableAdapters.ATTENDEETableAdapter(); +        datasetWorkshopDBTableAdapters.ATTENDEETableAdapter adaptAttendee = new datasetWorkshopDBTableAdapters.ATTENDEETableAdapter(); 
-        adapt.Fill(ds.ATTENDEE);+        adaptAttendee.Fill(ds.ATTENDEE); 
 + 
 +        datasetWorkshopDBTableAdapters.WORKSHOPTableAdapter adaptWorkshop = new datasetWorkshopDBTableAdapters.WORKSHOPTableAdapter(); 
 +        adaptWorkshop.Fill(ds.WORKSHOP); 
 + 
 +        datasetWorkshopDBTableAdapters.REGISTRATIONTableAdapter adaptRegistration = new datasetWorkshopDBTableAdapters.REGISTRATIONTableAdapter(); 
 +        adaptRegistration.Fill(ds.REGISTRATION); 
 + 
 +        datasetWorkshopDBTableAdapters.ATTENDANCETableAdapter adaptAttendance = new datasetWorkshopDBTableAdapters.ATTENDANCETableAdapter(); 
 +        adaptAttendance.Fill(ds.ATTENDANCE);
  
         // use the Attendee datatable as the DataContext for the Window         // use the Attendee datatable as the DataContext for the Window