LINQ to SQL – part 4

Today I published part 4 of my series of articles about LINQ to SQL (.NET 3.5). This article shows the features of the 2 provided visualizers, the use of the Refresh method and how to create dynamic strong-typed Where- and OrderBy-clauses. By using the PredicateBuilder class powerful expression trees can be created easily.

Table of contents :

Visualizers

  • LINQ to SQL Visualizer
  • Expression Tree Visualizer


Refresh

  • Refresh (re-execute) query
  • Refresh one object


Dynamic Where-clause

  • Anonymous functions and IEnumerable
  • Lambda expression trees and IQueryable
  • PredicateBuilder class and combining expressions
  • Predicate library


Dynamic OrderBy-clause

  • Anonymous functions and IEnumerable
  • Lambda expression trees and IQueryable
  • Predicate library
Advertisements

Tags: , ,

One response to “LINQ to SQL – part 4”

  1. Lito Dizon says :

    Hi,

    Just wanted to say that your articles on Linq to Sql has flattened the learning curve a lot. Thank you.

    Lito Dizon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: