Commit updated information of the Asset to underlying database.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void UpdateAsset(
	ref IAsset assetToUpdateDB
)
Visual Basic
Sub UpdateAsset ( _
	ByRef assetToUpdateDB As IAsset _
)
Visual C++
void UpdateAsset(
	IAsset^% assetToUpdateDB
)

Parameters

assetToUpdateDB
Type: Cartella.Interfaces..::..IAsset%
Asset object with updated information. Cannot be null

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown when null parameter passed in
System..::..ArgumentExceptionThrown if current Asset object doesn't have AssetManager reference
System..::..MemberAccessExceptionThrown if database procedure not present

See Also