Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / FilterExpression Class / QueryFromExpression Method
The expression to get the query from.
The fields applied to the query.

In This Topic
    QueryFromExpression Method
    In This Topic
    Gets the query back from the expression. If the query can not be determined it returns an empty string.
    Syntax
    'Declaration
     
    
    Public Shared Function QueryFromExpression( _
       ByVal expression As FilterExpression, _
       ByVal fields As IEnumerable(Of String) _
    ) As String
    public static string QueryFromExpression( 
       FilterExpression expression,
       IEnumerable<string> fields
    )

    Parameters

    expression
    The expression to get the query from.
    fields
    The fields applied to the query.
    Remarks
    This method performs the opposite of FromString method.
    See Also