Presentation is loading. Please wait.

Presentation is loading. Please wait.

ADO.NEXT Advances in Data Access for 2008

Similar presentations


Presentation on theme: "ADO.NEXT Advances in Data Access for 2008"— Presentation transcript:

1 ADO.NEXT Advances in Data Access for 2008
11/11/ :38 AM ADO.NEXT Advances in Data Access for 2008 Mike Taulty Developer & Platform Group Microsoft Ltd © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 What’s Coming in ADO.NET?
ADO.NET Data Services ADO.NET Entity Framework Slated for Summer, 2008 as part of an update to VS 2008 and Framework V3.5 Current bits are packaged in ASP.NET 3.5 Extensions Preview More about that package in the next session

3 Entity Framework 11/11/2018 12:38 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Entity Framework – Key Facts
Extends the ADO.NET Provider Model Pluggable to support any database Functionality Abstracts a model from your store schema ADO.NET API or LINQ-enabled ORM Status Currently at Beta 3

5 ADO.NET Today Provider Specific (PL/SQL) App Code ADO.NET Providers
“SELECT * FROM CUSTOMERS” Customers ADO.NET Today App Code ADO.NET Customers Command Providers Execute SQL Server Oracle Oracle ... DataReader Customers

6 ADO.NET Entity Framework
Conceptual Model UKCustomer UKPremiumCustomer Customers Map

7 ADO.NET Entity Framework
Provider Agnostic (ESQL) “SELECT * FROM UKCUSTOMER” UKCustomer ADO.NET Entity Framework App Code ADO.NET Conceptual Model UKCustomer UKPremiumCustomer Map Entity Provider Customers Command Execute Providers* DataReader UKCustomer SQL Server Oracle Oracle ...

8 ADO.NET Entity Framework
EF Programming Model Object Relational Mapping LINQ .NET Entity Provider (Entity SQL) Command Connection Reader EF EF Conceptual Model Entity relationship Store Model (SSDL) Entity Data Model (CSDL) Mapping (MSL) Store .NET Data Provider V2.0 Command Connection Reader Adapter

9 LINQ to SQL? LINQ to Entities?
Database Support SQL Server Many Object Relational Mapping Capabilities Simple Complex Requires Attributed .NET Code No Yes Status Released Beta

10 demo { Entity Framework } 11/11/2018 12:38 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 LINQ to Entities – Lots of Topics
Change Tracking Concurrency Transactions (i)POCO Stored Procs Inheritance Customising Code-Gen Metadata N-Tier Compiled Queries Performance

12 EF Providers in Progress
Vendor DB Support Microsoft SQL Server Core Lab Oracle, MySQL, PostgreSQL, SQLite IBM DB2, Informix Dynamic Server MySQL AB MySQL Npgsql PostgreSQL OpenLink Many via OpenLink ODBC or JDBC Phoenix SQLite DataDirect Oracle, Sybase, SQL Server, DB2 Firebird

13 11/11/ :38 AM Data Services © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Data Services – Key Facts
Extends Windows Communication Foundation V3.5 Functionality CRUD access to data over RESTful web services Built-in URI-based query syntax Client-side libraries for .NET and AJAX clients Status Currently in CTP ( latest December )

15 RESTful Web Services? XML JSON XML JSON Resources Res 1 URL VERB Res 2
HTTP Request HTTP Response Status URL VERB GET POST PUT DELETE Payload XML JSON Payload XML JSON

16 RESTful? Is this “the death of SOAP”? REpresentational State Transfer
Server-side resources identified by a URI Access is over HTTP, verb tied to action GET to read the value of a resource POST to create a new resource PUT to update an existing resource DELETE to delete a resource Returned data is “plain” – XML or JSON Is this “the death of SOAP”?

17 data? what kind of data? Provide a type with public properties which are; IQueryable<T>, IEnumerable<T> Also get write access if your type implements; IUpdatable Works well with generated code from; ADO.NET Entity Framework (ObjectContext) LINQ to SQL (DataContext*)

18 demo { Data Services } 11/11/2018 12:38 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 What’s Coming in ADO.NET?
ADO.NET Data Services ADO.NET Entity Framework Slated for Summer, 2008 as part of an update to VS 2008 and Framework V3.5 Current bits ASP.NET 3.5 Extensions Preview

20 Resources

21


Download ppt "ADO.NEXT Advances in Data Access for 2008"

Similar presentations


Ads by Google