Download presentation
Presentation is loading. Please wait.
1
Visual Studio + SQL Server Is Better
Børge Hansen
2
Visual Studio Team System 2008 Database Edition
ADO.Net Entity Framework ADO.Net Data services Sync Services for ADO.Net
3
VSTS Database Edition Source control of all database objects.
Code Analysis on T-SQL code Dependency tree Unit testing Refactoring Data compare/Schema compare
4
VSTS Database Edition Edit Refactor Compare Database Project Deploy
Build Data Generation Test Compare
5
DEMO
6
ADO.Net Entity Framework
7
LINQ to * LINQ to Object LINQ to Entities LINQ to SQL LINQ to XML
LINQ to [YourToolHere]
9
ADO.Net Entity Framework
10
Object Services
11
Models, Mapping and Objects
12
DEMO
13
ADO.Net Data Services
14
ADO.Net Data Services High-level Model Uniform URI’s Flexible Formats
Entity Data Model First-class entities, associations Uniform URI’s Entities as resources Filter, sort, navigate, paging Flexible Formats Plain XML JSON Atom
15
ADO.Net Data Services Data Exchange
Retrieving data Generic URIs: /Customers!123/SalesOrders Operations: /CustomersByState?state=WA Options: sorting, paging, navigation Storing data Simply use HTTP PUT, POST, DELETE Same URIs: PUT to /Customers!123
16
DEMO
17
Sync Services for ADO.NET
In Beta Now – ships with SQL Server Compact 3.5, VS 2008 Works with VS 2005, .NET FX 2.0 Builds on ADO.NET skills, Developer Productivity w/many features of Merge Replication Visual Studio 2008 RAD configuration of Sync Services and SQL Server Compact SQL Server 2008 Integrated change tracking making SQL Server 2008 your best server
18
ADO.Net Data access DataAdapter Server DB Forms SelectCommand
InsertCommand Server DB Connection Forms UpdateCommand DeleteCommand
19
Sync Services for ADO.NET
Select Incremental Inserts Select Incremental Updates SyncAdapter DataAdapter Select Incremental Deletes InsertCommand Server DB Connection Forms UpdateCommand DeleteCommand Select Conflict Updated Rows… Select Conflict Deleted Rows…
20
Sync Services for ADO.NET
Select Incremental Inserts SyncAdapter Select Incremental Deletes InsertCommand UpdateCommand DeleteCommand Connection Select Incremental Updates Select Conflict Updated Rows… Select Conflict Deleted Rows… Server DB Forms SQL Server Compact 3.5
21
What it is: Where it’s deployed Scenarios
Very small (~1MB) embedded, in-proc database Nice subset of SQL Server types and SQL dialect Does not have: Stored Procs, Views, Xquery Why limit programming to T-SQL when you have managed code What it is: Mobile & Embedded devices Windows Vista, Media Center PC, MSN Client, ZUNE, Windows Media Player, … Default Local/Client database offering in VS 2008 Where it’s deployed Local online / offline cache Local, stand alone application database Persistent data manager for In-Memory database Structured document format for custom apps Scenarios
22
Delivering an OCS Vision
VS 2005 SP1 Visual Studio 2008 SQL Server 2008 SQL Server Compact Edition Enable Desktop Clients Easy to deploy and redistribute Sync Services for ADO.NET Includes Agent, SQLce Provider, configurable server provider Adds sync capabilities to familiar ADO.NET syntax Visual Studio 2008 Sync Designer Automates config of client & server Generates code to query server for sync information SQL Server 2008 Includes SQL Server 2008 provider Improves performance Simplifies developmen Integrated Change Tracking
23
More on... Visual Studio Team System 2008
Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta ADO.NET Entity Framework Overview ADO.NET Data Services Microsoft Sync Framework Developer Center
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.