Commit updated information of the Asset to underlying database.
Namespace: Cartella.InterfacesAssembly: 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
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Thrown when null parameter passed in |
| System..::..ArgumentException | Thrown if current Asset object doesn't have AssetManager reference |
| System..::..MemberAccessException | Thrown if database procedure not present |