Table of Contents

Interface IChoicePolicy

Namespace
The.Entities
Assembly
Instagile.dll

Specifies filtering (if any) for lookup fields.

public interface IChoicePolicy

Methods

GetFilter<T>()

The filter applied to a lookup's choices by default, or null if there is no filter.

Expression<Func<T, bool>>? GetFilter<T>() where T : IEntity<T>

Returns

Expression<Func<T, bool>>

Type Parameters

T

HasActivity(IEntityInfo)

Whether the filter is based on Kernel.active; if so, use criteria and commands are generated for the attribute.

bool HasActivity(IEntityInfo type)

Parameters

type IEntityInfo

Returns

bool