Click or drag to resize
IUpdateableTUpdate Method

[This is preliminary documentation and is subject to change.]

Updates an entity with new values.

Namespace: Netadmin.Management.Common.Core
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void Update(
	T dto
)

Parameters

dto
Type: T
The entity to update
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the Id of the entity is zero or lower
ArgumentNullExceptiondto is .
InvalidIdentifierExceptionThrown if an identifier is zero or lower
NonUniqueValueExceptionThrown if a value is required to be unique, but is not
ObjectNotFoundExceptionThrown if the id of the entity is not found
ValueCanNotBeChangedExceptionThrown if a value can not be changed.
ValueIsRequiredExceptionThrown if a required value is missing.
See Also