System.Linq.Dynamic.Core icon indicating copy to clipboard operation
System.Linq.Dynamic.Core copied to clipboard

Does it support var query = dbContext.Set("Customers"),please?

Open effapp opened this issue 5 years ago • 3 comments

Does it support var query = dbContext.Set("Customers"),please?

I hope that:

var query = dbContext.Set("Customers") .Where("City == @0 and Orders.Count >= @1", "London", 10) .OrderBy("CompanyName") .Select("new(CompanyName as Name, Phone)");

effapp avatar Aug 07 '20 09:08 effapp

Hello @effapp ,

We will look at it,

Best Regards,

Jon


Performance Libraries context.BulkInsert(list, options => options.BatchSize = 1000); Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation Eval.Execute("x + y", new {x = 1, y = 2}); // return 3 C# Eval FunctionSQL Eval Function

JonathanMagnan avatar Aug 07 '20 14:08 JonathanMagnan

Hello @effapp ,

Sorry for the long waiting,

The SetDynamic feature has been added in our EF Plus library: https://github.com/zzzprojects/EntityFramework-Plus/releases/tag/v3.0.61

We currently believe that feature related to Entity Framework should be part of our free library EF Plus instead which try to make it easier for developers to use EF.

Let me know if that solution can work for you.

Best Regards,

Jon

JonathanMagnan avatar Sep 09 '20 17:09 JonathanMagnan

@effapp

Is the code dbContext.Set("Customers") from EntityFramework ? Or from EntityFramework Core?

StefH avatar Jan 20 '21 18:01 StefH

Closing...

StefH avatar Sep 10 '23 10:09 StefH