Click or drag to resize

IAdoPersistenceProviderTModel Interface

Represents an ADO persistence provider for TModel

Namespace: SanteDB.Persistence.Data.Services.Persistence
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public interface IAdoPersistenceProvider<TModel> : IAdoPersistenceProvider

Type Parameters

TModel
The type of model object that this class persists

The IAdoPersistenceProviderTModel type exposes the following members.

Properties
 NameDescription
Public propertyDbType Gets the database type
(Inherited from IAdoPersistenceProvider)
Public propertyModelType Gets the model type
(Inherited from IAdoPersistenceProvider)
Public propertyProvider Get the provider that this instance of the provider uses
(Inherited from IAdoPersistenceProvider)
Top
Methods
 NameDescription
Public methodDelete Do an obsolete of the model
Public methodExists True if the object exists in the database
(Inherited from IAdoPersistenceProvider)
Public methodGet Perform a get on the context
Public methodInsert(DataContext, IdentifiedData) Insert the specified object into the database
(Inherited from IAdoPersistenceProvider)
Public methodInsert(DataContext, TModel) Insert the specified object into the database
Public methodQuery Query for filter on context
Public methodTouch Touch the specified object (creates a new version or updates the modified time)
Public methodUpdate(DataContext, IdentifiedData) Update the specified object in the database context
(Inherited from IAdoPersistenceProvider)
Public methodUpdate(DataContext, TModel) Update the specified object in the database context
Top
See Also