KingsportMillSafetyTrainingDbContext..::..GetCategory Method

Gets the category.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public Category GetCategory(
	Nullable<int> id
)
Public Function GetCategory ( _
	id As Nullable(Of Integer) _
) As Category
public:
Category^ GetCategory(
	Nullable<int^> id
)

Parameters

id
Type: Nullable<(Of <(<'Int32>)>)>
The identifier.

Return Value

Category.

Exceptions