Advances for Data in VS “Orcas”

Slides:



Advertisements
Similar presentations
The Microsoft Technical Roadshow 2007 Language Enhancements and LINQ Daniel Moth Developer & Platform Group Microsoft Ltd
Advertisements

Language Integrated Query (LINQ) Martin Parry Developer & Platform Group Microsoft Ltd
Thomas Ball Microsoft Research. C# 3.0C# 3.0 Visual Basic 9.0Visual Basic 9.0 OthersOthers.NET Language Integrated Query LINQ to Objects LINQ to DataSets.
LINQ and Collections An introduction to LINQ and Collections.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
.NET 3.5 – Mysteries. NetFx Evolution NetFx 1.0 C# 1.0, VB 7.0, VS.NET NetFx 1.1 C# 1.1, VB 7.1, VS 2003 NetFx 2.0 C# 2.0, VB 8.0, VS 2005 NetFx 3.0 C#
© Logica All rights reserved ADO vNext LINQ LINQ to SQL Entity Framework Freek Leemhuis
Live from Redmond: WebCast Conquering XML with Visual Basic 9 Amanda Silver Lead Program Manager Visual Basic Level: Starts Easy, Finishes Advanced.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
The Microsoft Technical Roadshow 2007 Advances for Data in VS “Orcas” Mike Taulty Developer & Platform Group Microsoft Ltd
SQL Server 2005 CLR Integration ADO.NET 2.0 Mike Taulty
C# 3.0 and LINQ Pavel Yosifovich CTO, Hi-Tech College
A tour of new features introducing LINQ. Agenda of LINQ Presentation We have features for every step of the way LINQ Fundamentals Anonymous Functions/Lambda.
Beth Massi Program Manager Visual Studio Community.
Introduction to ADO Entity Framework ir Denis VOITURON Source:
Eric Nelson Developer & Platform Group Microsoft Ltd
XML files (with LINQ). Introduction to LINQ ( Language Integrated Query ) C#’s new LINQ capabilities allow you to write query expressions that retrieve.
LINQ Programming in C# LINQ CSE Prof. Roger Crawfis.
Entity Framework MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
ADO.NET ENTITY FRAMEWORK Mike Taulty Developer & Platform Group Microsoft UK
NHibernate in Action Web Seminar at UMLChina By Pierre Henri Kuaté 2008/08/27
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
ADO.NET DATA SERVICES Mike Taulty Developer & Platform Group Microsoft UK
LINQ TO XML Mike Taulty Developer & Platform Group Microsoft UK
Introduction to LINQ Lecture # 19 August Introduction How do you interrogate/manipulate data? What if you could do the work in a type-safe," string-free.
ADO.NET Entity Framework Mike Taulty Developer & Platform Group Microsoft Ltd
 Language Integrated Query  Make query a part of the language  Component of.NET Framework 3.5  Shipped with Visual Studio 2008.
Deep Dive into the ADO.NET Entity Framework. Agenda Entity Data Model Advanced Mapping Advanced querying Entity SQL Object Services ADO.NET Metadata.
Objectives In this lesson, you will learn to: *Identify the need for ADO.NET *Identify the features of ADO.NET *Identify the components of the ADO.NET.
Visual Studio “Orcas” &.NET Framework v3.5 Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd
EntityFrame work and LINQ CH 14. linq LINQ enables you to query data from a wide variety of data sources, directly from your programming code. LINQ is.
C# 3.0 and LINQ Pavel Yosifovich CTO, Hi-Tech College
AUC Technologies LINQ (Language Integrated Query) LINQ Presented By : SHAIKH SHARYAR JAVED Software Engineer (Daedalus Software Inc.) Technology Teacher.
Language Integrated Query (LINQ). Data Access Programming Challenges Developers must learn data store-specific query syntax Multiple, disparate data stores.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Applied Linq Putting Linq to work Introducing… Class-A Kennisprovider Microsoft development Training Coaching Alex Thissen Trainer/coach.
Object Oriented Programming Generic Collections and LINQ Dr. Mike Spann
LINQ & PLINQ (Parallel) Language Integrated Query.
Visual Studio “Orcas” &.NET Framework v3.5 Mike Taulty, Daniel Moth Developer & Platform Group Microsoft Ltd
LINQ Language Integrated Query LINQ1. LINQ: Why and what? Problem Many data sources: Relational databases, XML, in-memory data structures, objects, etc.
Ken Casada Developer Evangelist Microsoft Switzerland
Language Integrated Query Mike Taulty Developer & Platform Group Microsoft Ltd
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
1 ORACLE I 3 – SQL 1 Salim Phone: YM: talim_bansal.
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
Databases and the MVC Model
Part 1: Overview of LINQ Intro to LINQ Presenter: PhuongNQK.
Language Integrated Query: (LINQ) An introduction
JDBC.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
ADO.NET Entity Framework
ADO.NEXT Advances in Data Access for 2008
Populating a Data Warehouse
Language Integrated Query (LINQ)
Learn. Imagine. Build. .NET Conf
Populating a Data Warehouse
Visual Studio “Orcas” & .NET Framework v3.5
Language Integrated Query (LINQ)
Visual Studio 2008 Mike Taulty Developer & Platform Group
Advances for Data in VS “Orcas”
Databases and the MVC Model
Databases and the MVC Model
04 | Data Acess Technologies
Databases and the MVC Model
Entity Framework & LINQ (Language Integrated Query)
.NET Framework V3.5+ & RESTful web services
Nagendra Vemulapalli Access chapters 1&2 Nagendra Vemulapalli
Visual Studio 2005 IDE Features
Presentation transcript:

Advances for Data in VS “Orcas” Mike Taulty Developer & Platform Group Microsoft Ltd Mike.Taulty@microsoft.com http://www.mtaulty.com

Barriers Between Code & Data Relational XML "The Data Barrier" My Code Object Objects Metadata Type Safety Compile time checking IntelliSense

Today - "String in", "Object Out" Relational XML We get back an opaque data type XmlNode DataTable, DataReader Metadata Type Safety Compile time checking IntelliSense We solve the problem with a string... "/descendant-or-self/..." "SELECT * FROM ..." "The Data Barrier" My Code

These errors show up at runtime, not compile time Today - Illustrated These errors show up at runtime, not compile time

Tomorrow - Query in the Languages The Language Integrated Query Pattern  from itemName in srcExpr  join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr  into itemName query-body Relational XML Object Objects

Taking LINQ to Common Data Stores Objects XML SQL DataSet 1 2 3

LINQ over XML 1 LINQ Pattern New XML API from itemName in srcExpr  join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr  into itemName query-body New XML API

System.Xml.Linq New XML API (more DOM than reader) Key classes: XElement, XAttribute

LINQ over XML

Object Relational Mapping API LINQ to SQL 2 LINQ Pattern  from itemName in srcExpr  join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr  into itemName query-body Object Relational Mapping API Code Gen Tools

System.Data.Linq – Data API

LINQ to SQL

LINQ to DataSet 3 LINQ Pattern DataSet/DataTable FirstName LastName  from itemName in srcExpr  join itemName in srcExpr on keyExpr equals keyExpr (into itemName)? let itemName = selExpr where predExpr orderby (keyExpr (ascending | descending)?)* select selExpr group selExpr by keyExpr  into itemName query-body FirstName LastName Age Height Fred Smith 55 1.2 Jim Jones 22 1.3 John Doe 43 1.4 Jo Blogs 17 1.5 DataSet/DataTable

Linq to DataSet Existing DataTable already has some query capabilities LINQ syntax extends to DataSet to apply the same model for querying

LINQ to DataSet

Summary Powerful, intuitive LINQ pattern For Relational Data One "syntax" to learn Relational, hierarchical, object data Underpinned by new or existing API's For Relational Data LINQ to SQL ORM over database schema LINQ to DataSet

roadshowresources.com