[]
        
(Showing Draft Content)

C1.DataCollection.FilterExpression.QueryFromExpression

QueryFromExpression Method

QueryFromExpression(FilterExpression, IEnumerable<string>)

Gets the query back from the expression. If the query can not be determined it returns an empty string.

Declaration
public static string QueryFromExpression(FilterExpression expression, IEnumerable<string> fields)
Parameters
Type Name Description
FilterExpression expression

The expression to get the query from.

IEnumerable<string> fields

The fields applied to the query.

Returns
Type Description
string
Remarks

This method performs the opposite of FromString(string, IEnumerable<string>, bool, bool, bool) method.