Click or drag to resize

BasePersistenceServiceTModel, TDbModelDelete(Guid, TransactionMode, IPrincipal) Method

Delete the specified object

Namespace: SanteDB.Persistence.Data.Services.Persistence
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public TModel Delete(
	Guid key,
	TransactionMode mode,
	IPrincipal principal
)

Parameters

key  Guid
The primary key of the object to delete
mode  TransactionMode
The method persistence operation
principal  IPrincipal
The principal which should be used to delete

Return Value

TModel

[Missing <returns> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.BasePersistenceService`2.Delete(System.Guid,SanteDB.Core.Services.TransactionMode,System.Security.Principal.IPrincipal)"]

Implements

IDataPersistenceServiceTDataDelete(Guid, TransactionMode, IPrincipal)
Remarks
The method of deletion is controlled by the current DataPersistenceControlContext or within the configuration.
See Also