ObjectCollectionTObject Constructor |
Create new ObjectList, which will be loaded from the default Data for the object type, filtered by the specified expression.
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic ObjectCollection(
ObjectTransaction transaction,
Expression<Func<TObject, bool>> filterExpression
)
Public Sub New (
transaction As ObjectTransaction,
filterExpression As Expression(Of Func(Of TObject, Boolean))
)
public:
ObjectCollection(
ObjectTransaction^ transaction,
Expression<Func<TObject, bool>^>^ filterExpression
)
new :
transaction : ObjectTransaction *
filterExpression : Expression<Func<'TObject, bool>> -> ObjectCollection
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction used to load the objects. - filterExpression
- Type: System.Linq.ExpressionsExpressionFuncTObject, Boolean
The filter expression to apply.
See Also