Bienvenidos.

Slides:



Advertisements
Presentaciones similares
Cable & Wireless Panamá. Entrar a Inicio, Programas y buscar Windows Live.
Advertisements

Windows Mobile 1. Configurar una cuenta de Correo Personal Configurar Yahoo! Microsoft Confidential2 Inicio Fin.
New Form Factors for Applications Introducción Windows Vista provee muchas formas para conectar al usuario con los datos –Colaboración usando Peer-to-Peer,
3/24/2017 3:59 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2006 Microsoft Corporation. All rights reserved.
3/24/2017 4:00 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
De BDC a BCS Gustavo Velez Overview El problema y la solución Arquitectura Listas Externas (SharePoint Designer) Visual Studio 2010.
Windows Vista y Office System 2007 Juntos para los desarrolladores Diego Gonzalez, [C# MVP] Lagash Systems SA
Virtual Desktop Infrastructure (VDI) from Microsoft
3/29/ :02 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Mario Cortés Flores Consultor SharePoint en Renacimiento Coordinador SUGES Coautor de:
Infraestructura de la información crucial
Database Mounting Tool (Dsamain.exe) Mediante esta nueva herramienta y una de las mejoras de la nueva versión de Ntdsutil… podemos generar y examinar.
3/29/2017 1:27 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
LOW COST COMPUTER SYSTEM for QUALITY EVALUATION and PRESERVATION of GRAINS STORED in POLYMER BAGS Dra. Claudia Pons Researcher CONICET – LIFIA - CAETI.
Introducción a la nueva consola de administración de Exchange 2007 Angel Sánchez Clemares Ingeniero de Soporte David Cervigón IT.
Desarrollo Entrega continua Rodrigo Corral
Paulo Dias IT Pro Evangelist Microsoft Fernando Guillot IT Pro Evangelist Microsoft
Vendiendo Microsoft Office 2010 Office 2010 Licenciamiento Office 2010 Licenciamiento Pablo Rovira Jefe de Producto Pablo Rovira.
BITLOCKER Fernando Guillot Paulo Dias IT Pro Evangelist Microsoft
Antonio Gámir Optimized Desktop Specialist Microsoft Ibérica.
Mejoras de SQL Server para el desarrollo con ejemplos prácticos Germán Díaz - Product Manager Microsoft Alfons González – Desarrollador y Redactor técnico.
para desarrolladores Minimizar el cambio Concentrarse en estabilidad, confiabilidad y rendimiento. Ayudar a mejorar la productividad Reducir la curva.
Service Pack 3 SQL Server 2005 Marcos Celada Microsoft Support Services
David Cervigón Luna IT Pro Evangelist Microsoft Ibérica
Christopher Quesada Developer Evangelist Microsoft.
Se trata de un nuevo tipo de Controlador de Dominio No puede escribir en su base de datos fruto de peticiones externas No se le permite tener replicación.
Las PyMEs son máquinas de crecimiento PyMEs representan hasta un 75% de todos los empleos en algunas economías (PyMEs) con conocimientos en tecnología.
© 2006 Microsoft Corporation. All rights reserved.
A demanda elástica De amplio Acceso Servicios medibles Recursos mancomunados.
Hogar y Micro Empresas Pequenas Empresas Medianas Empresas Enterprise 1-4 PCs 50+ PCs PCs PCs OEM Microsoft Open License Microsoft Open Value.
Creciendo Capacidades de los Socios!!. Agenda Presentación del Equipo Programa MPA (Microsoft Partner Academy) Canales de Comunicación - Redes Sociales.
Alejandro García Sánchez Readiness Champion.. Licenciamiento para Pequeñas y Medianas Empresas Como Elegir el licenciamiento Correcto Preguntas y Respuestas.
Programa AER Para Socios ES Guadalupe Navarro.
Construyendo Soluciones de Aplicaciones Integradas con Formularios usando Microsoft 2007 Office System.
Overview Alejandro Ponicke Asesor de Comunidades IT Microsoft Cono Sur.
Silverlight Pablo Michelis Gerente de Relaciones Académicas Microsoft Cono Sur.
WINDOWS 7 FIN DE SOPORTE. ¿Qué es el fin de soporte? En Microsoft existe el compromiso de proporcionar productos seguros. Nuestra política mundial de.
Autenticación David Martos Arquitecto de Software. Spenta Consulting
Isabel Gómez Desarrollo & Plataforma Microsoft Ibérica.
Pasos a seguir para asociar un MCP o una persona a la empresa
 Nicolás Padula Core Technologies Consultant  Maximiliano Stibel Core Technologies Consultant.
Vendiendo Microsoft Office 2010 Office 2010 Presentación del producto Office 2010 Presentación del producto Pablo Rovira Jefe de.
Crear Referencias Febrero 10, Ingresar al portal Ingresar a la siguiente url: Ya que se haya entrado a la URL.
¿Cómo crear y lanzar la encuesta de satisfacción? (Csat) Febrero 17, 2011.
¡Bienvenido a tu nuevo Office!. ¡Instalá tu Office en todos tus dispositivos móviles! Colaboración en línea de tus archivos con todos tus compañeros de.
The .NET Language Integrated Query Framework
Access y Microsft Flow.
Office365 Telefónica España Dirección de Marketing de Empresas.
Bing SMB Advertisers – Search Ads
Microsoft Sync Framework, el futuro
Microsoft Virtual Academy
Privacidad – Una historia de desencuentros.
Business Intelligence Specialist MTA Database Fundamentals MCSA SQL Server 2012/2014 MCSE Business Intelligence MCSE Data Management and Analytics.
The .NET Language Integrated Query Framework
24 Es el 6 de noviembre. Más Números
5/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
© 2007 Microsoft Corporation. All rights reserved
Capítulo 12 El Futuro es tuyo 6/2/ :54 PM
Optimización de SQL Server para IOT
Streaming de datos con Power BI
• SQL Server Integration Services SSIS
Expande tu audiencia de clientes con Bing Ads
Windows Server Management Marketing
11/24/2018 3:55 PM Dios es susurro y brisa,
¿Estás ahí Dios? Soy Yo, Perro...
Reconnect(); - Sevilla
(Nos agrada su presencia en este lugar)
Anuncios de Mayo 2019 Mes de las Damas
Transcripción de la presentación:

Bienvenidos

Language Integrated Query – LINQ: Nuevos paradigmas en el acceso a datos Oscar J. Berroterán MCP, MVP Visual Basic,Ineta Academic Speaker, MS Andean Speaker Group ojberroteran@gmail.com http://msmvps.com/blogs/oberroteran http://blogs.comunidadesandinas.com/blogs/oberroteran

Agenda Pasado, presente y futuro Objetivos Presentando LINQ Demos

.Net a través del tiempo 2002 2003 2005 2006 2008¿? Tool (Visual Studio) VS .NET 2002 VS .NET 2003 VS .NET 2005 + Extensiones (WPF, WWF,..) Visual Studio 2008 Codename Orcas Lenguajes C# v1 VB .Net v7 C# v1.1 VB .Net v7.1 C# v2 VB 2005 (v8) C# v3 VB .9 Framework NetFx v1.0 NetFx v1.1 NetFx v2.0 NetFx v3.0 NetFx v3.5 Engine (CLR) CLR v1.0 CLR v1.1 CLR v2.0 ¿?

Evolución de acceso a datos en .Net WPF,WCF, WWF .Net 3.0 .Net 2.0 Generics ADO .Net Factory objects .Net 1.0 ADO .Net , Datasets (desconectado), Componentes administrados

El concepto … “El concepto LINQ es la idea de aportar al .Net Framework la capacidad de creación, generación y ejecución de un modelo de consulta sobre cualquier tipo de información en memoria.” Datos Objetos != Orientación a objeto, polimorfismo, interfaces, herencia… Proyecciones, agrupaciones, claves foráneas, joins…

Objetivos de LINQ Integración de datos Adicional Objetos Datos Relacionales XML Adicional Mejorar la consistencia de los lenguajes Añadir funcionalidad No atar el lenguaje a un API especifico Mantener la compatibilidad hacia atras

Objetivos de LINQ Simplificar la búsqueda de información Integrar búsquedas y transformaciones Unificar el proceso de búsqueda en diferentes fuentes de información Simplificar el trabajo con XML Producir docs. XML rápidamente Accecer a los miembros de un doc. XML fácilmente

mmm, ¿Cómo? Sintaxis LINQ From C in Clientes Where c.Ciudad = “Maracay” Select new { c.Nombre, c.Apellido}; Sintaxis SQL Select C.Nombre, c.Apellido from Clientes As c where c.Ciudad=“Maracay”;

Presentando Language Integrated Query (LINQ) C# VB Others… .Net Language Integrated Query (LINQ) LINQ enabled data sources LINQ to ADO.NET LINQ To Objects LINQ To Datasets LINQ To SQL LINQ To Entities LINQ To XML <book> <title/> <author/> <price/> </book> Objects XML Relational

¿Que hay detrás de esto? Mejoras del lenguaje = L I N Q (Inferencia de tipos Inicializadores de objetos Tipos anónimos Expresiones Lambda (funciones en línea) Extension Methods) + Query Expressions = L I N Q

Sintaxis From id in Source {From id in Source| Cero o más From, join, let, where u orderby Comienza con From From id in Source {From id in Source| Join id in Source on expr equals expr [into id]| Let id = expr| where condition | Orderby ordering, ordering,…} Select expr | group expr by key Into idquery Termina con Select o groupby Continuación opcional into

Local Variable Type Inference El tipo de la variable se determina del proceso de inicialización Dim i=666 Dim s = “UCAB” Dim d = 3.14 Dim numbers = new int() {1,2,3,4}

Object Initializers Dim oPunto as Punto = New Punto oPunto.X=10 Public Class Punto Private mX as integer Private mY as integer Public Property X as Integer Get Return mX end get Set (ByVal value as Integer) mX=value end Set End Property End Class Dim oPunto as Punto = New Punto oPunto.X=10 oPunto.Y=20 Dim Opunto as Point = New Point With {.X=10, .Y=20}

Lambda Expresions Una expresión lambda es una función sin nombre que calcula y devuelve un solo valor. Las expresiones lambda se pueden utilizar dondequiera que un tipo del delegado sea válido. Método Clase real X=Paises.GetAll.Where(Function (a as Paises) a.Id =1) Ext. Method

Anonymous Types Class XXX Public Nombre as String Public Tipo as Integer End Class XXX Dim OCliente = New With {.Nombre=“Oscar”, .Tipo=20}

12/7/2017 4:44 AM Extension Methods Los métodos de extensión permiten, a partir de la creación de clases, extender tipos existentes con nuevas funcionalidades (métodos). En VB9 sólo estan permitidos a nivel de módulos <System.Runtime.CompilerServices.Extension()> _ Public Function Concatenar(ByVal values as Ienumerable(of Integer), ByVal separador as String) as String Dim st as String = String.Empty For Each i as Integer in Values st= st + i.ToString + separador next return st End Function © 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.

demo Linq to Objects 12/7/2017 4:44 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.

Language INtegrated Query 12/7/2017 4:44 AM Language INtegrated Query C# VB Others… .Net Language Integrated Query (LINQ) LINQ enabled data sources LINQ enabled ADO.NET LINQ To Objects LINQ To Datasets LINQ To SQL LINQ To Entities LINQ To XML <book> <title/> <author/> <price/> </book> Objects XML Relational © 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.

12/7/2017 4:44 AM demo Linq to SQL © 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.

Recursos Visual Studio 2008 LINQ Forum LINQ project 12/7/2017 4:44 AM Recursos Visual Studio 2008 http://msdn2.microsoft.com/en-us/vstudio/ LINQ Forum http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=123&Si teID=1 LINQ project http://msdn2.microsoft.com/en-us/vbasic/aa904594.aspx Blogs http://msmvps.com/blogs/oberroteran http://geeks.ms/blogs/oberroteran http://blogs.msdn.com/vsdata/ http://blogs.msdn.com/vbteam/ © 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.

12/7/2017 4:44 AM GRACIAS !!! © 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.