[]
Gets the query back from the expression. If the query can not be determined it returns an empty string.
public static string QueryFromExpression(FilterExpression expression, IEnumerable<string> fields)
| Type | Name | Description |
|---|---|---|
| FilterExpression | expression | The expression to get the query from. |
| IEnumerable<string> | fields | The fields applied to the query. |
| Type | Description |
|---|---|
| string |
This method performs the opposite of FromString(string, IEnumerable<string>, bool, bool, bool) method.