zzz projects Expression Tree Tutorial
Getting Started Documentation Knowledge Base
  • Getting Started
  • Documentation
  • Knowledge Base

Expression Tree Tutorial - Knowledge Base (KB)

2 results for: in tag: predicate

Convert func to predicate using reflection in C#

I'm basically trying to do ...this..., but I don't know what T will be, so I'm building things up using Reflection and Expression trees....// Input (I don't know about "Book") Type itemType = typeof(Book); // Actual Code // Build up func p => p.AuthorNam...
c# expression-trees predicate reflection
asked by Jon Smock

Declaring Func<in T, out Result> dynamically

Consider this:...var propertyinfo = typeof(Customer).GetProperty(sortExpressionStr); Type orderType = propertyinfo.PropertyType; ...now I want to declare ...Func<int,orderType> ...I know its not possible directly since ...ordertype... is at runtime but is...
anonymous-methods c# expression-trees lambda predicate
asked by Stacker

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...