Table of Contents

Interface IEntityViewRetrievingRuleArguments<TEntity>

Namespace
GroupeIsa.Neos.Domain.Rules.EventRules
Assembly
GroupeIsa.Neos.Domain.Abstractions.dll

Represents the arguments for retrieving rules applied to entities of type TEntity. This class provides context and filtering capabilities for business rules during entity retrieval operations.

public interface IEntityViewRetrievingRuleArguments<TEntity> where TEntity : BusinessEntity

Type Parameters

TEntity

The type of the business entity, which must inherit from BusinessEntity.

Properties

Context

Gets the business rule context associated with this retrieving operation.

IBusinessRuleContext Context { get; }

Property Value

IBusinessRuleContext

EntityViewName

Gets the name of the entity view being retrieved.

string EntityViewName { get; }

Property Value

string

Methods

AppendFilter(Expression<Func<TEntity, bool>>)

Appends a filter predicate to the existing filter expression for the retrieving operation.

void AppendFilter(Expression<Func<TEntity, bool>> predicate)

Parameters

predicate Expression<Func<TEntity, bool>>

The predicate expression to append as a filter.