Download presentation
Presentation is loading. Please wait.
Published byAmy Lloyd Modified over 9 years ago
1
Boost data-driven application development using SQL Server Centric.NET Code Generator David Rodriguez SQL Server Technology Specialist Microsoft Corporation
2
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
3
Resources http://www.microsoft.fr/olymars/webupdate.xml Freely downloaded but NOT SUPPORTED That being said it is very easy to use That being said it is very easy to use
4
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
5
Database Insert Update Delete Select Custom1 Table1 Stored Procedures DataClasses Web controls Windows controls ComboBox ListBox CheckedListBox DataGrid ListBox DropDownList CheckBoxList DataGrid Repeater DataList Windows Forms Application Form N Tiered Application
6
Overview Internally known as OlyMars Project started in March 2001 Can help you (and your organization) move quickly to the.NET world Already 200+ external customers using it
7
Overview OlyMars is built on.NET (C#) Two ways of considering this tool Comes with more 150+ built-in templates Comes with more 150+ built-in templates Is a code generation framework Is a code generation framework Relies on a SQL Server 2000 database Is built using itself
8
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
9
OlyMars Setup
10
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
11
Database What do we need next? Stored procedures… Table1 Table2 Table3 Table4 Designed by hand
12
Stored Procedures Database Insert Update Delete Select Auto-generated Custom1 Custom2 Custom3 Written by hand Table1
13
Stored Procedures Generation
14
Database What do we need next? ADO.NET classes able to call the stored procedures Insert Update Delete Select Auto-generated Custom1 Custom2 Custom3 Written by hand Table1
15
DatabaseStructure What do we need next? Windows & Web controls that map to each of our tables Auto-generated Written by hand DataClasses
16
Web controls Windows controls Database Table1 ComboBox ListBox CheckedListBox DataGrid ListBox DropDownList CheckBoxList DataGrid Repeater DataList Auto-generated Written by hand
17
Web controls Windows controls Database ComboBox ListBox CheckedListBox DataGrid ListBox DropDownList CheckBoxList DataGrid Repeater DataList Auto-generated Written by hand SP
18
Web Forms Windows Forms Database Table1 Form Page Auto-generated Written by hand SampleApplication
19
Rest of the generation
20
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
21
IE asp page IIS htmlcontent TOOL Template Code You SQL File
22
Tool Repository Needs to connect to a repository
23
Tool Repository Working DB Needs to connect to a working database and analyses it
24
Tool Repository In memory Working DB representation When analyzed, creates an in-memory representation of this working database
25
Tool Templates Repository In memory Working DB representation Loads the templates in memory
26
Tool Templates Repository In memory Working DB representation This representation is provided to the templates
27
Tool Templates Repository In memory Working DB representation The templates are executed by the tool
28
Tool Templates Repository In memory Working DB representation SQLcode Can be some SQL code to execute on the working DB
29
Tool Templates Repository In memory Working DB representation Disk File SQLcode Can be any code to save in files
30
Building custom templates
31
Agenda Overview Installation Using built-in templates Building custom templates Olymars in real world
32
Questions?
33
© 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.