FilterString.Generate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Generate<T>(Expression<Func<T,Boolean>>) |
Generates an OData filter from a specified Linq expression. Skips null parameters. |
Generate<T>(Expression<Func<T,Boolean>>, Boolean) |
Generates an OData filter from a specified Linq expression. |
Generate<T>(Expression<Func<T,Boolean>>)
Generates an OData filter from a specified Linq expression. Skips null parameters.
public static string Generate<T> (System.Linq.Expressions.Expression<Func<T,bool>> filter);
static member Generate : System.Linq.Expressions.Expression<Func<'T, bool>> -> string
Public Shared Function Generate(Of T) (filter As Expression(Of Func(Of T, Boolean))) As String
Type Parameters
- T
Filter type.
Parameters
- filter
- Expression<Func<T,Boolean>>
Entity to use for filter generation.
Returns
Applies to
Generate<T>(Expression<Func<T,Boolean>>, Boolean)
Generates an OData filter from a specified Linq expression.
public static string Generate<T> (System.Linq.Expressions.Expression<Func<T,bool>> filter, bool skipNullFilterParameters);
static member Generate : System.Linq.Expressions.Expression<Func<'T, bool>> * bool -> string
Public Shared Function Generate(Of T) (filter As Expression(Of Func(Of T, Boolean)), skipNullFilterParameters As Boolean) As String
Type Parameters
- T
Filter type.
Parameters
- filter
- Expression<Func<T,Boolean>>
Entity to use for filter generation.
- skipNullFilterParameters
- Boolean
Value indicating whether null values should be skipped.
Returns
Applies to
Azure SDK for .NET