Table of Contents

Class DynamicEntityListViews

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

List section(s) for a dynamically-typed entity query: a single sectioned table, or a stack of cards in low-density (consumer) chrome. Registers list commands.

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

Remarks

See EntityListViews<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

Count

Optional known item count for Query (if unset, the count will be loaded).

[Parameter]
public int? Count { get; set; }

Property Value

int?

Query

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

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

Property Value

IEntityQuery<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.