Friday, 28 March 2014

LINQ Architecture

 

 

LINQ - Beyond Queries

 

image

 

 

image

 

 

image

 

 

 

Using Named Parameters

image

 

 

image

 

 

image

 

 

 

Using Extension Methods

 

image

 

 

image

 

 

 

Fluent APIs

 

image

 

 

 

A Validation Scenario

 

Legacy Validation Technique

image

 

 

image

 

 

New Validation Technique

image

 

 

 

Functional Validation

 

image

 

 

 

A More Complex Scenario

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Using Expressions

 

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

 

Data Access with LINQ In Layered Applications

 

image

 

 

 

image

 

 

 

The Demo Application

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

 

 

IUnitOfWork and IObjectSet

 

image

 

 

image

 

 

image

 

 

 

IUnitOfWork and IRepository

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Composable Queries

 

image

 

 

 

As IEnumerable LINQ Query

 

image

 

 

image

 

 

image

 

 

image

 

Note:  Above query operation issue the bear query against SQL server as it is IEnumerable.  All the TOP and Order by clause will be handled in IN MEMORY operation.

 

 

 

As IQueriable LINQ Query

image

 

 

image

 

Note:  Above query operation issue the query against SQL server with TOP and Order by clauses as it is IQueriable.  All the TOP and Order by clause will be handled in IN SQL Server level.

 

 

image

 

 

 

Laziness

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

 

Blogger Labels: LINQ,Architecture,Beyond,Queries,Parameters,Extension,Methods,Fluent,APIs,Validation,Scenario,Legacy,Technique,Functional,Complex,Expressions,Data,Applications,Demo,Application,IUnitOfWork,IObjectSet,IRepository,Composable,IEnumerable,Query,Note,Above,server,Order,clause,MEMORY,IQueriable,clauses

No comments:

Post a Comment