dbelmont / ExpressionBuilder

A library that provides a simple way to create lambda expressions to filter lists and database queries.
Apache License 2.0
372 stars 105 forks source link

Member (Int64) #58

Open avKovalenko opened 5 years ago

avKovalenko commented 5 years ago

Exception: ExpressionBuilder.Exceptions.PropertyValueTypeMismatchException: "The type of the member 'Id' (Int64) is different from the type of one of the constants (Int32)"

Stack: в ExpressionBuilder.Builders.FilterBuilder.CheckPropertyValueMismatch(MemberExpression member, ConstantExpression constant1) в ExpressionBuilder.Builders.FilterBuilder.GetExpression(ParameterExpression param, IFilterStatement statement, String propertyName) в ExpressionBuilder.Builders.FilterBuilder.GetPartialExpression(ParameterExpression param, Connector& connector, IEnumerable1 statementGroup) в ExpressionBuilder.Builders.FilterBuilder.GetExpression[T](IFilter filter) в ExpressionBuilder.Generics.Filter1.op_Implicit(Filter`1 filter) в ConsoleApp1.Program.Main(String[] args) в P:\$test\ConsoleApp1\ConsoleApp1\Program.cs:строка 29