Entity Framework Where method parameters
问题 The following EF statement does not compile as it is expecting 2 additional parameters, an int and a bool. I can't figure out how to supply them or what they are used for. Dim L2 = Db.SecurityLogs.Where(Function(x) x.OrderId = OrderId) The compile error is; Error 27 Overload resolution failed because no accessible 'Where' can be called with these arguments: 'Public Function Where(predicate As String, ParamArray parameters() As System.Data.Objects.ObjectParameter) As System.Data.Objects