Table of Contents

Class DynamicEntityListView

Namespace
The.Web.Entities
Assembly
Instagile.Web.Client.dll

Virtualised-list block for a dynamically-typed entity query. Registers list commands.

public class DynamicEntityListView : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IVisitor<Action<RenderTreeBuilder>>
Inheritance
DynamicEntityListView
Implements
Inherited Members

Remarks

See EntityListView<T> if you have a static type.

Properties

AllowDirtyReads

Loads entity data without a transaction.

[Parameter]
[EditorRequired]
public bool AllowDirtyReads { get; set; }

Property Value

bool

Query

The entities to list (if unset, the list will be empty).

[Parameter]
[EditorRequired]
public IFrozenQuery<IEntity>? Query { get; set; }

Property Value

IFrozenQuery<IEntity>

Type

Type of the entities to list. See IListSpec to customise the generated columns.

[Parameter]
[EditorRequired]
public IEntityInfo? Type { get; set; }

Property Value

IEntityInfo

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

builder RenderTreeBuilder

A RenderTreeBuilder that will receive the render output.