From your example about using EntitySet<t> as query root, I tried:
but the where in the last line is highlighted with the following error: "Delegate 'System.Func<nnet.broker.subscription,int,bool>' does not take '1' arguments"
This thread was imported from our support forum. The original discussion may contain more detailed answer. |
Dmitri Maximov (Xtensive) wrote:Hello Tony, We are sorry, but we've failed to reproduce the issue. We took model and query specified by you. Frankly speaking, the original model was not valid as there were 2 Key fields in Subscription class (Id, LastEventId), so we were to fix this. Could the fix influence somehow? Alex (Xtensive) wrote:Most likely you have another .Where extension method in one of imported namespaces. I.e. C# tried to translate your LINQ construction involving another .Where (C# actually just require a .Where with appropriate arguments is available), because System.Linq namespace was not imported. |