How to handle the DBNull with Expression in this case?
I have use the following code snippet to some Comparison
Expression.Constant(DBNull.Value, typeof (Int32));
While execute these lines I got the following Exception
System.ArgumentException occurred
HResult=-2147024809
Message=Argument types do not match
Source=System.Core
StackTrace:
at System.Linq.Expressions.Expression.Constant(Object value, Type type)
InnerException:
No comments:
Post a Comment