Click or drag to resize

IDataPersistenceServiceTData Interface

Represents a data persistence service which is capable of storing and retrieving data to/from a data store

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IDataPersistenceService<TData> : IServiceImplementation
where TData : IdentifiedData

Type Parameters

TData

[Missing <typeparam name="TData"/> documentation for "T:SanteDB.Core.Services.IDataPersistenceService`1"]

The IDataPersistenceServiceTData type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodCount
Performs a fast count
Public methodGet
Get the object specified key.
Public methodInsert
Insert the specified data.
Public methodObsolete
Obsolete the specified identified data
Public methodQuery(ExpressionFuncTData, Boolean, IPrincipal)
Query the specified data
Public methodQuery(ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData)
Query the specified data
Public methodUpdate
Update the specified data
Top
Events
  NameDescription
Public eventInserted
Occurs when inserted.
Public eventInserting
Occurs when inserting.
Public eventObsoleted
Occurs when obsoleted.
Public eventObsoleting
Occurs when obsoleting.
Public eventQueried
Occurs when queried.
Public eventQuerying
Occurs when querying.
Public eventRetrieved
Fired when data has been retrieved
Public eventRetrieving
Data is being retrieved
Public eventUpdated
Occurs when updated.
Public eventUpdating
Occurs when updating.
Top
See Also