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