Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using C# Expression Trees in the Real World

NDC Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of C# expression trees in this 51-minute conference talk. Uncover how Entity Framework translates complex LINQ queries to SQL using expression trees. Learn about lambda expressions, the Expression API, and real-world applications in popular libraries like Entity Framework, AutoMapper, and NHibernate. Dive into topics such as Queryable, Expression Visitor, and Expression Parts. Discover practical examples including model mapping, stored procedures, and syntax generators. Gain insights into translating expressions, cooking an expression, and implementing a rules engine. Compare expressions with reflection and understand their limitations. Enhance your understanding of this fundamental concept in .NET development and its practical applications in data access and object mapping.

Syllabus

Introduction
lambda expressions
expression API
Real world talk
Entity Framework
Queryable
Expression Visitor
Expression Parts
Expression Visitors
AutoMapper
AutoMapper Example
AutoMapper Magic
Spencers Background
Model Mapping
Stored Procedures
Syntax Generators
Translating Expressions
The Result
A Closer Look
Cooking an Expression
Dotnet Fiddle
Rules Engine
Example
Expressions vs Reflection
Expressions are not perfect

Taught by

NDC Conferences

Reviews

Start your review of Using C# Expression Trees in the Real World

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.