LINQ Stefan Flöring Department für Informatik Carl von Ossietzky Universität Oldenburg.

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

The Microsoft Technical Roadshow 2007 Language Enhancements and LINQ Daniel Moth Developer & Platform Group Microsoft Ltd
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.
For(int i = 1; i
Deep Dive into LINQ Eran Sharabi.NET Development Team Leader JohnBryce Training
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer Institut.
Visual Studio 2008 and the.NET Framework v3.5 Gill Cleeren Microsoft Regional Director.
Basic SQL Introduction Presented by: Madhuri Bhogadi.
.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#
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
© Logica All rights reserved ADO vNext LINQ LINQ to SQL Entity Framework Freek Leemhuis
Current Popular IT I Pertemuan 6 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Joshua Clark Consultant Sogeti USA Blog:
1 Visual Studio 2008 Fons Sonnemans (Trainer) Reflection IT
Structured Query Language Chapter Three Part 3 – Inserts, Updates, Deletes.
ASP.NET Database Connectivity I. 2 © UW Business School, University of Washington 2004 Outline Database Concepts SQL ASP.NET Database Connectivity.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
SINN01 Technical Workshop Oldenburg 5-7 Dec 2001 Mirroring Status & Techniques Thomas Severiens Institute for Science Networking Carl von Ossietzky Universität.
DAT304 Leveraging XML and HTTP with Sql Server Irwin Dolobowsky Program Manager Webdata Group.
LINQ Programming in C# LINQ CSE Prof. Roger Crawfis.
Reflection IT LINQ & Entity Framework Fons Sonnemans (Trainer)
Eric Vogel Software Developer A.J. Boggs & Company.
Chapter 15: Using LINQ to Access Data in C# Programs.
SQL Review Tonga Institute of Higher Education. SQL Introduction SQL (Structured Query Language) a language that allows a developer to work with data.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
© Satyam Computer Services Ltd POC Architecture 1 Confidential – Limited Circulation.
Neal Stublen How does XMLReader work?  XmlReader.Read() Advances to next node XmlReader properties access node name, value, attributes,
Copyright © Curt Hill SQL The Intergalactic Standard Database Query Language.
LINQ Providers Or why.NET rules, and Java doesn’t Branimir Giurov SofiaDev.org UG Lead, C# MVP Freelance Software Developer
2008.NET iSDC & RONUA Workshop, November 10 th Mark Blomsma Software architect Develop-One.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
Lecture 1: IDE - Integrated Development Environment.NET Framework Visual Studio 2010.NET Solution Explorer Properties Window.
1.NET Language Integrated Query Yishai Zaltzberg.
 To develop the knowledge and skills to manage and tune database management systems  To provide experience the technologies of a variety of database.
Ventsislav Popov Crossroad Ltd.. 1. ASP.NET Data Source Controls  SqlDataSource  EntityDataSource  ObjectDataSource 2. Entity Data Model and ADO.NET.
Presentation On How To Create Connection To A Database.
By: Luis Carranco CIS764 - Fall  What is LINQ  Architecture  How does it work?  Samples/Demo  Why to use LINQ? 2.
An Introduction to SQL For CS Overview of SQL  It is the standard language for relational systems, although imperfect  Supports data definition.
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
Structured Query Language SQL Unit 4 Solving Problems with SQL.
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
 MySQL  DDL ◦ Create ◦ Alter  DML ◦ Insert ◦ Select ◦ Update ◦ Delete  DDL(again) ◦ Drop ◦ Truncate.
Introduction to.NET Florin Olariu “Alexandru Ioan Cuza”, University of Iai Department of Computer Science.
Learn Structured Query Language to rule Database.
Aga Private computer Institute Prepared by: Srwa Mohammad
Introduction to Entity framework
Introduction to Entity Framework
LINQ for SQL SQL Saturday May 2009 David Fekke.
Hands on LINQ to SharePoint
Language Integrated Query: (LINQ) An introduction
LiNQ SQL Saturday David Fekke.
Advanced .NET Programming I 6th Lecture
ADO.NET Entity Framework
Language Integrated Query (LINQ)
پایگاه داده ها (بانکهای اطلاعاتی)
Language Integrated Query (LINQ)
Accessing Your MySQL Database from the Web with PHP (Ch 11)
LINQ & ADO.NET Entity Framework
Visual Studio + SQL Server Is Better
Data Access Layer (Con’t) (Overview)
Updating Databases With Open SQL
Database SQL.
Advanced .NET Programming I 7th Lecture
Visual Studio 2008.
Advanced .NET Programming I 6th Lecture
Updating Databases With Open SQL
Presentation transcript:

LINQ Stefan Flöring Department für Informatik Carl von Ossietzky Universität Oldenburg

2

.NET Language Integrated Query 3 LINQ Language Integrate Query LINQ to Objects LINQ to SQL LINQ to XML C# 3.0VB 9.0Weitere (F# …) Relation al Objekte XML

4 Demo

5 Zusammenfassung from c in db.Customers where c.City == London Select c.CompanyName from c in db.Customers where c.City == London Select c.CompanyName Anwendung LINQ to SQL SQLServer Enumerate SQL Query Oder SProc Tupel SELECT CompanyName FROM Customer WHERE City = London SELECT CompanyName FROM Customer WHERE City = London db.Customers.Add(d); c2.City = Aurich; db.Customers.Add(d); c2.City = Aurich; SubmitChanges() DML INSERT INTO Customer… UPDATE Customer… INSERT INTO Customer… UPDATE Customer…

using System.Concurrency; … for (int i = 0; i < 100; i++) { a[i] = a[i]*a[i]; } Parallel.For(0, 100, delegate(int i) { a[i] = a[i]*a[i]; }); … var query = (from c in db.Customers select c).AsParallel(); 6 Parallel FX und Parallel LINQ