DMDW 3. Student Presentation - Silverlight to MSSQL
1. DMDW Practical Task E = Excel T = Silverlight L = MS SQL Sebastian Burkart & Patrick Reichert
2. Agenda General course of events Detailed plan Development process Presentation of running application Questions & End Sebastian Burkart & Patrick Reichert
3. General course of events Load file in Silverlight Project Store data in memory Run transformations on data Store data in database But that’s the general flow…. Now in details… Sebastian Burkart & Patrick Reichert
7. blanks at end of entries2. Save document in unicode-text-format 3. Extract, Analyze & Normalize the document structure - original table structure (excel) - one table structure - normalized table structure 4. Create database Sebastian Burkart & Patrick Reichert
8. Detailed plan 2/2 5. create & code - create silverlight navigation application - create a new web service - add web service as service reference - create user-interface - complete UI - features of the UI - code the functionalities - run “Create Tables” feature - run SQLMetal.exe - implement class file from SQLMetal.exe - finish coding Sebastian Burkart & Patrick Reichert
10. Save document in unicode-format 1/3 Sebastian Burkart & Patrick Reichert
11. Save document in unicode-format 2/3 Sebastian Burkart & Patrick Reichert
12. Save document in unicode-format 3/3 Sebastian Burkart & Patrick Reichert
13. Extract & Normalize the document structure 1/5 original table structure (excel) Tag String Datum Date Anfang Time Ende Time Raum String Veranstaltungsname String Dozent String Kommentar String Unknown String Sebastian Burkart & Patrick Reichert
14. Extract & Normalize the document structure 2/5 one table structure table: original id int, Primary Key event varchar(200), not NULL day not in db get from date date date, not NULL start varchar(10), not NULL finish varchar(10), not NULL room varchar(50), not NULL lecturer varchar(200), not NULL comment varchar(200) unknown varchar(200) Sebastian Burkart & Patrick Reichert
15. Extract & Normalize the document structure 3/5 normalized table structure 1/3 main table: events id int, Primary Key eventname int, not NULL table: eventnames start int, not NULL table: times finish int, not NULL table: times date int, not NULL table: dates room int, not NULL table: rooms lecturer int, not NULL table: lecturers comment varchar(200) unknown varchar(200) Sebastian Burkart & Patrick Reichert
16. Extract & Normalize the document structure 4/5 normalized table structure 2/3 table: eventnames id int, Primary Key eventname varchar(200), unique, not NULL table: times id int, Primary Key Time varchar(10), unique, not NULL table: dates id int, Primary Key date date, unique, not NULL Sebastian Burkart & Patrick Reichert
17. Extract & Normalize the document structure 5/5 normalized table structure 3/3 table: rooms id int, Primary Key room varchar(50), unique, not NULL table: lecturers id int, Primary Key lecturer varchar(50), unique, not NULL Sebastian Burkart & Patrick Reichert