INFO 344 Web Tools And Development

Slides:



Advertisements
Similar presentations
Developer Knowledge Sharing Eric Sun Dec, What programming language did you learn in school and since then? Now, its time to refresh …
Advertisements

The Microsoft Technical Roadshow 2007 Language Enhancements and LINQ Daniel Moth Developer & Platform Group Microsoft Ltd
LINQ to objects. Datenmodell Zugriffsklasse Einfache Abfrage IEnumerable booksList = SampleDataAccess.DBooks.Select(b => b); Select(...) Book => object.
Relational Algebra Relational algebra consists of a set of relational operators Each operator has one or more relations as input and creates a new relation.
SQL Introduction Standard language for querying and manipulating data Structured Query Language Many standards out there: SQL92, SQL2, SQL3. Vendors support.
Hui Li Pig Tutorial Hui Li Some material adapted from slides by Adam Kawa the 3rd meeting of WHUG June 21, 2012.
Extension Methods, Anonymous Types LINQ Query Keywords, Lambda Expressions Svetlin Nakov Telerik Corporation
C# and LINQ Yuan Yu Microsoft Research Silicon Valley.
Review Indra Budi Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors.
Exploring Microsoft Access 97 Chapter 3 Information From the Database: Reports and Queries Office graphic copyright by Microsoft Corp.
Concepts of Database Management Sixth Edition
SQL (2).
DryadLINQ A System for General-Purpose Distributed Data-Parallel Computing Yuan Yu, Michael Isard, Dennis Fetterly, Mihai Budiu, Úlfar Erlingsson, Pradeep.
Damien Guard (BSc, MBCS) Guernsey Software Developer Forum Language Integrated Query:
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
ONE PASS ALGORITHM PRESENTED BY: PRADHYUMAN RAOL ID : 114 Instructor: Dr T.Y. LIN.
Unary Query Processing Operators CS 186, Spring 2006 Background for Homework 2.
SQL SQL stands for Structured Query Language SQL allows you to access a database SQL is an ANSI standard computer language SQL can execute queries against.
SQL By: Toan Nguyen. Download Download the software at During the installation –Skip sign up for fast installation.
Concepts of Database Management, Fifth Edition
LINQ, An IntroLINQ, An Intro Florin−Tudor Cristea, Microsoft Student Partner.
Getting familiar with LINQ to Objects Florin−Tudor Cristea, Microsoft Student Partner.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Advanced C#, part IV Niels Hallenberg IT University of Copenhagen (With thanks to Peter Sestoft and Kasper Østerbye) BAAAP – Spring 2009.
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.
The.NET Language Integrated Query Project Anders Hejlsberg TLN306 Technical Fellow Microsoft Corporation.
Concepts of Database Management Seventh Edition
 Language Integrated Query  Make query a part of the language  Component of.NET Framework 3.5  Shipped with Visual Studio 2008.
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
Intro to SQL Management Studio. Please Be Sure!! Make sure that your access is read only. If it isn’t, you have the potential to change data within your.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
LINQ & PLINQ (Parallel) Language Integrated Query.
Introduction to Functions – Single Row Functions.
CSCI 3327 Visual Basic Chapter 8: Introduction to LINQ and Collections UTPA – Fall 2011.
SqlExam1Review.ppt EXAM - 1. SQL stands for -- Structured Query Language Putting a manual database on a computer ensures? Data is more current Data is.
CSCI 3328 Object Oriented Programming in C# Chapter 8: LINQ and Generic Collections – Exercises 1 Xiang Lian The University of Texas – Pan American Edinburg,
Damien Guard (BSc, MBCS) Guernsey Software Developer Forum Language Integrated Query:
Joel Pobar Language Geek Microsoft DEV320 Improve on C# % Backwards Compatible Language Integrated Query (LINQ)
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
SQL and Query Execution for Aggregation. Example Instances Reserves Sailors Boats.
By Shantanu Narang CS 157b. Relational Model  Object Model Object Oriented Databases(OOD) Object Query Language(OQL) OOD pros and cons.
SQL for Super Users Presented by: Adam Jacobson Red Three Consulting, Inc.
Using Structured Query Language (SQL) NCCS Applications –MS Access queries (“show SQL”) –SAS (PROC SQL) –MySQL (the new dataserver) –Visual Foxpro Other.
Functional Programming
Structured Query Language
Jim Fawcett CSE681 – Software Modeling and Analysis Fall 2016
Structured Query Language (Data Manipulation Language)
Jim Fawcett CSE681 – Software Modeling and Analysis Fall 2013
Relational Algebra - Part 1
Chapter 3 Introduction to SQL(3)
Intro to LINQ Part 2 – Concepts and LINQ to Objects
Language Integrated Query: (LINQ) An introduction
Introduction to Relational Databases
SQL Introduction Standard language for querying and manipulating data
Where are we? Until now: Modeling databases (ODL, E/R): all about the schema Now: Manipulating the data: queries, updates, SQL Then: looking inside -
Lecture 3 Monday, April 8, 2002.
Query Functions.
INFO 344 Web Tools And Development
MY SCHOOL PROGRAM NAME TEACHER DATE NAME, TEACHER AND DATE.
Set Operations Union Intersect Minus.
Aggregate Functions.
INFO 344 Web Tools And Development
INFO 344 Web Tools And Development
INFO 344 Web Tools And Development
LINQ - 2 Ravi Kumar C++/C# Team.
INFO 344 Web Tools And Development
CSCI 3328 Object Oriented Programming in C# Chapter 8: LINQ and Generic Collections – Exercises UTPA – Fall 2012 This set of slides is revised from lecture.
LINQ to SQL Part 3.
CS4540 Special Topics in Web Development LINQ to Objects
CS222P: Principles of Data Management UCI, Fall 2018 Notes #12 Set operations, Aggregation, Cost Estimation Instructor: Chen Li.
Presentation transcript:

INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014

My favorite part of C# Open VS 2013, Console Project

What is LINQ? Why use it? LINQ (Lanugage-Integrated Query) Run SQL queries in C# data/objects Awesome for manipulating data

New Data Type Tuple <1,2,3,…> Store n objects in 1 object Anonymous class for n-properties, any type Super useful in LINQ

Basics Similar to SQL Select, Where, GroupBy, OrderBy Part 2 = how do I output in 1 line? Hint: Console.WriteLine(… linq …);

LINQ SelectMany = flattens the collection Take/Skip => partition operators ThenBy => order by, then by, … Ex: order by date, then by name

Others Other standard SQL stuff Count, Sum, Min, Max, Average Union, Intersect, Distinct

Reading http://msdn.microsoft.com/en-us/library/bb397926.aspx http://en.wikipedia.org/wiki/Language_Integrated_Query http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b

Questions?