RepositoryReadOnlyTFind(ExpressionFuncT, Boolean, GetAllOptions) Method
Retrieves a list of all entities matching a given set of search criteria
Namespace: Ignition.Framework.RepositoriesAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public IReadOnlyCollection<T> Find(
Expression<Func<T, bool>> predicate = null,
GetAllOptions options = GetAllOptions.ExcludeDeleted
)
Public Function Find (
Optional predicate As Expression(Of Func(Of T, Boolean)) = Nothing,
Optional options As GetAllOptions = GetAllOptions.ExcludeDeleted
) As IReadOnlyCollection(Of T)
public:
virtual IReadOnlyCollection<T>^ Find(
Expression<Func<T, bool>^>^ predicate = nullptr,
GetAllOptions options = GetAllOptions::ExcludeDeleted
) sealed
abstract Find :
?predicate : Expression<Func<'T, bool>> *
?options : GetAllOptions
(* Defaults:
let _predicate = defaultArg predicate null
let _options = defaultArg options GetAllOptions.ExcludeDeleted
*)
-> IReadOnlyCollection<'T>
override Find :
?predicate : Expression<Func<'T, bool>> *
?options : GetAllOptions
(* Defaults:
let _predicate = defaultArg predicate null
let _options = defaultArg options GetAllOptions.ExcludeDeleted
*)
-> IReadOnlyCollection<'T>
- predicate ExpressionFuncT, Boolean (Optional)
-
A lambda expression indicating the search criteria to use.
This expression will be translated into the NetFORUM query language and executed by NetFORUM server-side, ensuring optimal performance.
See the Ignition User Guide for more information on what sort of expressions are supported.
- options GetAllOptions (Optional)
- Indicates if deleted entities should be included or excluded from the returned list
IReadOnlyCollectionTThe requested list