Gets an instance of the entity type T with that has an integer id specified by the id parameter

Namespace: SimpleMode.SecureLicenseManager.Data
Assembly: SimpleMode.SecureLicenseManager.Data (in SimpleMode.SecureLicenseManager.Data.dll) Version: 1.5.5120.0 (1.5.5120.0)

Syntax

C#
T Get<T>(
	int id
)
where T : class
Visual Basic
Function Get(Of T As Class) ( _
	id As Integer _
) As T
Visual C++
generic<typename T>
where T : ref class
T Get(
	int id
)

Parameters

id
Type: System..::..Int32
The integer id of the entity.

Type Parameters

T
The entity type.

Return Value

An object instance of type T.

See Also