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: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IDataPersistenceService<TData> : IServiceImplementation
where TData : class, IIdentifiedResource

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
Obsolete
Public methodDelete Delete the specified identified data
Public methodGet Get the object with identifier key.
Public methodInsert Insert the specified data.
Public methodQuery(ExpressionFuncTData, Boolean, IPrincipal) Query for TData whose current version matches query
Public methodQuery(ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData) Query the specified data
Obsolete
Public methodUpdate Update the specified data
Top
Events
 NameDescription
Public eventDeleted Occurs when obsoleted.
Public eventDeleting Occurs when obsoleting.
Public eventInserted Occurs when inserted.
Public eventInserting Occurs when inserting.
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