ESQL in Entity Framework

Is there any good and, if possible, comprehensive documentation on ESQL in entity infrastructure?

I am trying to make selectan entity object with a property modification using a method; something like that:

SELECT foo FROM context.foo WHERE foo.Price = AddTaxes(foo.Price)
+3
source share
1 answer

There is msdn providing some documentation of the SQL language of the entity

You can also combine it with Linq2Entities with something like

context.foo
    .Where("it.Price == @Price", new ObjectParameter[] 
    { new ObjectParameter("Price", AddTaxes(price) } ).ToList()
+3
source

Source: https://habr.com/ru/post/1794498/


All Articles