Mais conteúdo relacionado Semelhante a Comparacao Estrategica sobre as Tecnologias de Acesso a Dados da Microsoft (20) Mais de Luciano Condé (20) Comparacao Estrategica sobre as Tecnologias de Acesso a Dados da Microsoft2. Uma comparação estratégica sobre as tecnologias de acesso a dados Luciano Condé Arquiteto de Soluções Microsoft Brasil http://blogs.msdn.com/conde http ://twitter.com/luconde Código da Sessão: DAT201 7. ADO.NET 1.x - Arquitetura Managed Data Provider IDbConnection IDbCommand DataSet Cliente Cliente IDbDataAdapter IDataReader 12. Cenário Dataset ADO.NET Regras e componentes de negócios Datasets DataAdapter TechedDemo01ADONETBLL TechedDemo01ADONETService TechedDemo01ADONETPresent TechedDemo01ADONETDAL MVC WCF DLL DLL Entidades 15. LINQ ( L anguage IN tegrated Q uery) Trás para a OO a capacidade de realizar consultas (queries) sobre coleção de dados 16. LINQ - Arquitetura Objetos <book> <title/> <author/> <price/> </book> XML Relacional LINQ To Objects LINQ To XML LINQ To Entities LINQ To SQL LINQ To DataSet .NET Language Integrated Query (LINQ) Linguagem de programação LINQ enabled data sources LINQ enabled ADO.NET 24. Cenário Linq To SQL LINQ To Sql Regras e componentes de negócios Linq Entities Linq DataContext TechedDemo02LinqToSQLBLL TechedDemo01ADONETService TechedDemo03ADONeDSWebPresent MVC WCF DLL Entidades 32. Cenário Entity Framework EF Regras e componentes de negócios EF Entities EF Datacontext TechedDemo03ADONetEFBLL TechedDemo03ADONetEFService TechedDemo03ADONetEFPresent TechedDemo03ADONetEFLibrary MVC WCF DLL DLL Entidades 35. Suporte ORM – Linq To Sql X EF Linq To Sql X EF Funcionalidades Linq To Sql EF POCO/PI Sim, se converter para List<T> V1 = Não V2 = Sim Lazy Loading Sim, se não converter para List<T> V1= Call Load() V2 = DeferredLoadingEnabled Earger Loading Sim (no nível do contexto) Sim (no nível da query) Concorrência Otimista Otimista Mapeamento da Tabela via mapping Não Sim Mapeamento de Foreing Key Sim, via EntitySet<T> e EntityRef<T> V1 = Independent Associations V2 = Independent ou FK Associations 37. ADO.Net data services Conjunto de bibliotecas e padrões que expõem dados como serviços, através de uma interface REST (http). 39. ADO.NET Data Services - Cenário ADO.NET Data Service SQL Server LINQ DataContext LINQ Entities REST ADO.NET Data Service SQL Server (OR other) EF ObjectContext EF Entities REST Browser Browser AJAX Silverlight Windows Forms / WPF Client 40. Cenário ADO.Net Data Services ADO.NET Data Services TechedDemo03ADONeDSDAL TechedDemo01ADONETPresent MVC Web Applicati-on LINQ to SQL ou EF Entidades 51. © 2008 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. Notas do Editor 09/12/09 01:19 © 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. Criar empatia com a audência sobre qual tecnologia a escolher Falar sobre as várias tecnologias existentes em cada local Após a animação ressaltar sobre os aspectos de cada componente Microsoft ASP.NET Connections Updates will be available at http://www.devconnections.com/updates/Orlando_Spring09/ASP Microsoft ASP.NET Connections Updates will be available at http://www.devconnections.com/updates/Orlando_Spring09/ASP Microsoft ASP.NET Connections Updates will be available at http://www.devconnections.com/updates/Orlando_Spring09/ASP 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. http://www.idesign.net ©2007 Michele Leroux Bustamante, IDesign Inc. All rights reserved 09/12/09 01:19 ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. Falar sobre a conexão com o LINQ Enabled ADO.NET Falando espeficicamente do Linq To SQL .... <abre a animação> 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. Dá enfase em Linq to Entities e Entity SQL 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. Microsoft ASP.NET Connections Updates will be available at http://www.devconnections.com/updates/Orlando_Spring09/ASP 09/12/09 01:19 © 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. If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. 09/12/09 01:19 © 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.