zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

4 results in tag: dynamic-linq

Create object containing a list using Dynamic Linq Core with Entity Framework 2.0

I have the following two classes:...public Part { public string PartNumber {get; set;} public string Description {get; set;} public List<Warehouse> Warehouses {get; set;} } public Warehouse { public string PartNumber {get; set;} publi...
c# dynamic-linq entity-framework-core list
asked by jpico

Dynamic Projection in linq with List of fieldNames

I wanna do projection on fields of my collection and nested collection in each of entity, I use EntityFramework 6.2 I've do that with dynamic query like bellow code...Students.Select("new (Name,Family,new(Category.Name) as Category)"); ...it was worked b...
c# dynamic-linq entity-framework entity-framework-6 linq
asked by Masoud Mirzaei

Using Contains within Where for a list

So I am trying to retrieve results from a collection based on a property. I wanna get any results that hold that value within the list. ...This is my code...I have tried with dynamic linq. It's not working...This is dynamic linq. Not working ...var list =...
c# dynamic-linq entity-framework-core linq sql
asked by Gilberto Langarica

Conditionally ignore fields with LINQ select

I've been unable to find any examples where you can conditionally exclude fields based off a variable within a select projection in LINQ, see also ...LINQ: Select an object and change some properties without creating a new object.......Let me give some ba...
dynamic-linq entity-framework-core expression-trees linq linqkit
asked by Mark G

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

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!