IEntitySelector<TEntity>.ById(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.