KingsportMillSafetyTrainingDbContext..::..DoTransaction<(Of <(<'T>)>)> Method (Func<(Of <(<'T>)>)>)

Does the transaction.

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

Syntax


internal T DoTransaction<T>(
	Func<T> func
)
Friend Function DoTransaction(Of T) ( _
	func As Func(Of T) _
) As T
internal:
generic<typename T>
T DoTransaction(
	Func<T>^ func
)

Type Parameters

T

Parameters

func
Type: Func<(Of <(<'T>)>)>
The function.

Return Value

T.