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

Expression Tree Tutorial - Knowledge Base (KB)

3 results for: in tag: asp.net-mvc-3

Is there a way to wrap Html.CheckboxFor, Html.TextboxFor, etc. methods with custom logic?

I am working with legacy models that wrap data and meta-data up in a single property. For the purpose of this question, suppose the interface is:...pubic interface ILegacyCheckbox { bool Value { get; set; } bool Editable { get; set; } } ...I want ...
asp.net-mvc asp.net-mvc-3 expression-trees linq
asked by afeygin

How can I use DropDownListFor() on a dynamic type?

I get the following error in the ...DropDownListFor()... "...An expression tree may not contain a dynamic operation..." because the lambda uses a dynamic type....How can I set the selected option on the DropDownList without resorting to jQuery?...I would ...
asp.net-mvc asp.net-mvc-3 drop-down-menu expression-trees html.dropdownlistfor
asked by Benjamin

Combine Lambda Expressions

I am looking for a way to combine two lambda expressions, without using an ...Expression.Invoke... on either expression. I want to essentially build a new expression that chains two separate ones. Consider the following code:...class Model { public Su...
asp.net-mvc-3 c# expression-trees
asked by J. Holmes

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...