When Querying we need to use the Alias to search for, in stead of the name, this is due to names like "Created Date" and "Last Updated Date", who has aliases like "CreateDate", and "UpdateDate"
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{
|
||||
private static string MakeBinaryOperation(this QueryCondition condition, string operand, int token)
|
||||
{
|
||||
return string.Format("{0}{1}@{2}", condition.Property.Name, operand, token);
|
||||
return string.Format("{0}{1}@{2}", condition.Property.Alias, operand, token);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user