Wednesday, 5 March 2014

LINQ Fundamentals – Part 2

 

 

LINQ to XML

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

 

image

 

 

image

 

 

 

Creating XML

image

 

 

image

 

 

 

Saving XML

image

 

 

image

 

 

 

Loading XML

image

 

 

 

Processing XML

 

image

 

 

image

 

 

 

Namespaces

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Traversal

 

image

 

 

image

 

 

 

image

 

 

 

Standard Query Operators

 

image

 

 

image

 

 

 

Query Extensions

image

 

 

image

 

 

 

Modify XML node

 

image

 

 

 

Functional Construction

 

image

 

 

 

Create and Query Demo

image

 

 

image

 

 

image

 

 

image

 

 

 

Transformation

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Validation

image

 

 

XPATH

image

 

 

 

image

 

 

 

LINQ to SQL Part I

image

 

 

Data Access Code

image

 

 

image

 

 

image

 

 

image

 

 

 

LINQ to SQL Overview

 

image

 

 

image

 

 

 

Mapping with POCO Approach – Code generation manually

 

image

 

 

POCO Demo

image

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Mapping with Attributes

image

 

 

 

The Data Context

image

 

 

 

Demo of Data Context – Code generating with VS

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Code Generating with SQLMetal.exe

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 
 
Relationships

 

image

 

 

 

image

 

 

image

 

 

image

 

 

 

Lazy Linq to SQL

 

image

 

 

image

 

 

image

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

 

Data Load Options

image

 

 

 

Projections

image

 

 

 

Inheritance

image

 

 

image

 

 

image

 

 

image

 

 

 

Compiled Queries

image

 

 

 

Executing SQL

image

 

 

 

Stored procedure

 

image

 

image

 

 

image

 

 

image

 

 

 

LINQ Data Source

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

LINQ to SQL Part II

 

image

 

 

Modifying Data

image

 

 

 

Identity

image

 

 

image

 

 

 

Identity Map Pattern

image

 

 

image

 

 

 

Demo of Object Map

image

 

 

image

 

 

image

 

 

image

 

 

 

Entity Life Cycle

image

 

 

Updates

image

 

 

image

 

 

image

 

Note: SubmitChanges is all going to work as a whole or it's all going to roll back.

 

 

Change Tracking

image

 

 

image

 

 

 

image

 

 

image

 

 

Updating Associations

image

 

image

 

 

 

image

 

 
Managing Association in Demo

image

 

 

image

 

 

image

 

 

Inserts

image

 

 

 

Delete

image

 

 

Concurrency

image

 

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Transactions

image

 

 

 

Detached Entities

image

 

 

image

 

 

image

 

 

 

The ADO.NET Entity Framework Part I

 

image

 

 

image

 

 

New ADO.NET

image

 

 

Entity Focus

image

 

 

image

 

 

image

 

 

 

Entity Data Model Designer

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Model Browser

image

 

 

image

 

 

 

Using the Model

image

 

 

image

 

 

image

 

 

 

Mapping Details

image

 

 

 

image

 

 

 

EF Services

image

 

 

 

image

 

 

image

 

 

 

Object Context

image

 

 

 

LINQ to Entities

 

image

 

 

 

Query with LINQ

image

 

 

image

 

 

image

 

 

Query with Stored Procedure

image

 

 

image

 

 

image

 

 

image

 

image

 

 

image

 

 

Deffered Loading

image

 

 

 
Explicit Load option with LOAD Method

 

image

 

Note:  This is very expensive as it will issue multiple SQL commands to the DB in loop.

 

 

Eagar Loading with Include method

 

image

 

image

 

 

 

Inserts

image

 

 

 

Updates

image

 

 

Deletes

image

 

 

 

Entity Update Demo

image

 

 

image

 

 

image

 

 

 

L2S Versus EF

image

 

 

image

 

 

 

 

The ADO.NET Entity Framework Part 2

 
ORM and Entity Identity

image

 

 

image

 

 

image

 

 

 

Identity Maps

image

 

 

image

 

Note: Remember this identity map is maintained on a per context basis.

 

 

image

 

 

 

image

 

 

 

Entity Life Cycle

image

 

 

image

 

 

image

 

 

 
Changing Associations

image

 

 

image

 

(OR)

 

image

 

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

Transactions

image

 

 

 

Stored Procedure

image

 

 

image

 

 

image

 

 

Detached Entities

image

 

 

image

 

 

image

 

image

 

 

image

 

 

 

ADO.NET Data Services

image

 

 

 

Motivation

image

 

 

image

 

 

image

 

 

 

 

RESTful Services

 

image

 

 

 

LINQ and DATA Services

 

image

 

 

Demo of Data Services

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

image

 

 

 

URL Options

image

 

 

image

 

 

 

POCO Data sources

 

image

 

 

 

image

 

 

 

Primitive Client

image

 

 

Data Service Context Client

image

 

 

 
Demo of Data Service Context

 

image

 

 

image

 

 

image

 

 

 

Create, Update and Delete

image

 

 

image

 

 

image

 

 

 

Silverlight

image

 

 

image

 

 

image

 

 

 

image

 

 

Data Service Server

image

 

 

Client

image

 

 

image

 

 

image

 

 

Client call on Service operations

 

image

 

 

image

 

 

 

Blogger Labels: LINQ,Fundamentals,Part,Namespaces,Traversal,Standard,Query,Operators,Extensions,Modify,node,Functional,Construction,Create,Demo,Transformation,Validation,XPATH,Data,Code,Overview,POCO,Approach,generation,Attributes,Context,SQLMetal,Relationships,Lazy,Load,Options,Projections,Inheritance,Queries,procedure,Source,Pattern,Object,Life,Cycle,Updates,Note,SubmitChanges,Change,Associations,Association,Inserts,Delete,Concurrency,Transactions,Entities,Framework,Focus,Model,Designer,Browser,Details,Services,Explicit,option,Method,Eagar,Include,Deletes,Update,Versus,Maps,Remember,basis,Motivation,RESTful,Primitive,Client,Service,Server

No comments:

Post a Comment