PsrContainerContentSearchExpressionByFieldT Method |
Returns an expression to filter by fields
Namespace:
PsrApi.Data
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntaxpublic Expression<Func<T, bool>> ContentSearchExpressionByField<T>(
string search,
bool exactSearch,
string field,
Guid legitimateId,
List<Guid> roles
)
Parameters
- search
- Type: SystemString
Search value - exactSearch
- Type: SystemBoolean
If the search should match exactly - field
- Type: SystemString
The field that should be searched ("" == all fields) - legitimateId
- Type: SystemGuid
Legitimate - roles
- Type: System.Collections.GenericListGuid
Roles
Type Parameters
- T
Return Value
Type:
ExpressionFuncT,
Boolean
See Also