IEntityServiceTSave Method (T)

Saves the specified entity.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void Save(
	T instance
)

Parameters

instance
Type: T
The entity to save.
Exceptions
ExceptionCondition
ArgumentNullExceptioninstance is .
InvalidOperationException

The entity has never been saved before.

-or-

The entity is not checked out to the caller.

NotFoundExceptionThe entity with the specified ID does not exist when saving an existing entity.
FeatureNotEnabledExceptionA required feature of the application is not enabled.
NoPrivilegeException

The caller does not have the Write permission on the entity.

-or-

The entity being saved is not a dashboard and the caller's seat kind is not PowerUser or better.

InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
This overload should only be used for entities which have been previously saved. Otherwise, use Save(T, String, Guid, Boolean). After saving, the entity's properties (Id, LastModifiedTime, etc.) will be updated. This method will honour the EntitySaveOptions associated with the instance.
See Also