Top Banner
dive into linq ivan towlson mindscape
45

Dive into linq ivan towlson mindscape. imagine there’s no sql.

Dec 18, 2015

Download

Documents

Jared Stevenson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dive into linq ivan towlson mindscape. imagine there’s no sql.

dive into linq

ivan towlsonmindscape

Page 2: Dive into linq ivan towlson mindscape. imagine there’s no sql.

imagine there’s no sql

Page 3: Dive into linq ivan towlson mindscape. imagine there’s no sql.

three worlds

Page 4: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

Page 5: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

Web Services

NoSQL

Page 6: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

Web Services

NoSQL

WMI

Email

Page 7: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

Web Services

NoSQL

WMI

Email

three worlds…for large values of three

Page 8: Dive into linq ivan towlson mindscape. imagine there’s no sql.

“queries should just ‘be there,’like for loops”

anders hejlsberg

Page 9: Dive into linq ivan towlson mindscape. imagine there’s no sql.

linqlanguage integrated query

Page 10: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 11: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 12: Dive into linq ivan towlson mindscape. imagine there’s no sql.

putting the lin into linq

Page 13: Dive into linq ivan towlson mindscape. imagine there’s no sql.

LINQ…

…to Objects

IEnumerable

…to XML

XDocumentfamily

…to SQL

Table<T>SQL Server

Page 14: Dive into linq ivan towlson mindscape. imagine there’s no sql.
Page 15: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 16: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 17: Dive into linq ivan towlson mindscape. imagine there’s no sql.

when syntax runs out

Page 18: Dive into linq ivan towlson mindscape. imagine there’s no sql.

everything is query operators

Page 19: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 20: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 21: Dive into linq ivan towlson mindscape. imagine there’s no sql.

I plan to query overONE… MILLION… OBJECTS!

Page 22: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is the meaning ofx.Select(…)?

Page 23: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is the meaning ofx.Select(…)?

IEnumerable<T> x;

IQueryable<T> x;

Page 24: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is the meaning ofx.Select(…)?

IEnumerable<T> x;Enumerable.Select(x, …)

IQueryable<T> x;Queryable.Select(x, …)

Page 25: Dive into linq ivan towlson mindscape. imagine there’s no sql.

IQueryable<T> x;Queryable.Select(x, …)

Page 26: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Table<T> x;Queryable.Select(x, …)

Page 27: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Queryable

IQueryProvider

SQL Entities LightSpeed NH ….

Page 28: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Queryable

IQueryProvider

SQL Entities LightSpeed NH ….

Page 29: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Queryable

IQueryProvider

SQL Entities LightSpeed NH ….

Page 30: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Expression tree

IQueryable

.Provider

Native query

Page 31: Dive into linq ivan towlson mindscape. imagine there’s no sql.

xs.Where(…).Select(…) Table<X>

SELECT …FROM X

WHERE …

linq to sql

Page 32: Dive into linq ivan towlson mindscape. imagine there’s no sql.

xs.Where(…).Select(…) Query<X> Find<X>(qx)

linq to lightspeed

Page 33: Dive into linq ivan towlson mindscape. imagine there’s no sql.

xs.Where(…).Select(…) WmiQuery<X> WqlObjectQuery

linq to wmi

Page 34: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Expression tree

IQueryable

.Provider

Native query

Page 35: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 36: Dive into linq ivan towlson mindscape. imagine there’s no sql.

language syntax

standard query operators

query implementation framework

Page 37: Dive into linq ivan towlson mindscape. imagine there’s no sql.

thinking in linq

Page 38: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is a query?

Page 39: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is a query?extract, transform and load

Page 40: Dive into linq ivan towlson mindscape. imagine there’s no sql.

what is a query?‘what am i interested in’

Page 41: Dive into linq ivan towlson mindscape. imagine there’s no sql.

i am interested in…drag and drop

Page 42: Dive into linq ivan towlson mindscape. imagine there’s no sql.

i am interested in…a mouse down

followed by mouse movesuntil i get a mouse up

Page 43: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

almost

anything

actually

Page 44: Dive into linq ivan towlson mindscape. imagine there’s no sql.

Objects

XML

Relational

almost

anything

actually

“queries should just ‘be there,’like for loops”

anders hejlsberg

Page 45: Dive into linq ivan towlson mindscape. imagine there’s no sql.

thanks!

[email protected]

[email protected]/flatlander