Is there any good and, if possible, exhaustive documentation about ESQL in entity framework ?
I'm trying to make a select
of an entity object with modification of a property using a method; something like this :
SELECT foo FROM context.foo WHERE foo.Price = AddTaxes(foo.Pric开发者_StackOverflow中文版e)
There is msdn providing some documentation Entity SQL Language
You can also combine it with Linq2Entities with something like
context.foo
.Where("it.Price == @Price", new ObjectParameter[]
{ new ObjectParameter("Price", AddTaxes(price) } ).ToList()
精彩评论