Partilhar via


IEntitySelector<TEntity>.ById(String) Method

Definition

Retrieves the behavior for an entity using the entity's ID.

public TEntity ById (string id);
abstract member ById : string -> 'Entity
Public Function ById (id As String) As TEntity

Parameters

id
String

The entity's ID.

Returns

TEntity

The entity's behavior.

Applies to