RepositoryReadOnlyTGetByIdTCustomEntity(NetForumId) Method

Retrieves a single entity by id

Definition

Namespace: Ignition.Framework.Repositories
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public TCustomEntity GetById<TCustomEntity>(
	NetForumId id
)
where TCustomEntity : new()

Parameters

id  NetForumId
The id (primary key) of the entity to retrieve

Type Parameters

TCustomEntity
An overridden entity type, as registered with the CustomEntityRegistrar

Return Value

TCustomEntity
The requested entity

See Also