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

Expression Tree Tutorial - Knowledge Base (KB)

1 results for: in tag: c#-7.0

C# 7.0 Value Tuple compile error?

When I am trying to compile the following code:...var post = iPostService.GetAll().Select(x => (x.Title, x.Author)); ...I get the compiler error: 'An expression tree may not contain a tuple literal.'...So I also tried this: ...var post = iPostService.GetA...
asp.net c#-7.0 expression-trees linq-to-entities valuetuple
asked by Tấn Sang

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