RepositoryReadOnlyTFind(ExpressionFuncT, Boolean, ExpressionFuncT, IEnumerableNetForumEntity) 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,
params Expression<Func<T, IEnumerable<NetForumEntity>>>[] collectionsToPreload
)
Public Function Find (
predicate As Expression(Of Func(Of T, Boolean)),
ParamArray collectionsToPreload As Expression(Of Func(Of T, IEnumerable(Of NetForumEntity)))()
) As IReadOnlyCollection(Of T)
public:
virtual IReadOnlyCollection<T>^ Find(
Expression<Func<T, bool>^>^ predicate,
... array<Expression<Func<T, IEnumerable<NetForumEntity^>^>^>^>^ collectionsToPreload
) sealed
abstract Find :
predicate : Expression<Func<'T, bool>> *
collectionsToPreload : Expression<Func<'T, IEnumerable<NetForumEntity>>>[] -> IReadOnlyCollection<'T>
override Find :
predicate : Expression<Func<'T, bool>> *
collectionsToPreload : Expression<Func<'T, IEnumerable<NetForumEntity>>>[] -> IReadOnlyCollection<'T>
- predicate ExpressionFuncT, Boolean
-
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.
- collectionsToPreload ExpressionFuncT, IEnumerableNetForumEntity
-
A set of NetForumSubEntityCollectionAttribute annotated collections which should be preloaded,
overriding any defaults or FetchStrategyHintAttribute on the collection property itself.
IReadOnlyCollectionTThe requested list