Click or drag to resize

AdoAuditRepositoryService Class

Represents a service which is responsible for the storage of audits
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Auditing.ADO.ServicesAdoAuditRepositoryService

Namespace: SanteDB.Persistence.Auditing.ADO.Services
Assembly: SanteDB.Persistence.Auditing.ADO (in SanteDB.Persistence.Auditing.ADO.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public class AdoAuditRepositoryService : IDataPersistenceService<AuditEventData>, 
	IServiceImplementation, IMappedQueryProvider<AuditEventData>, IProvideBackupAssets, IDisposable

The AdoAuditRepositoryService type exposes the following members.

Constructors
 NameDescription
Public methodAdoAuditRepositoryService Create new audit repository service
Top
Properties
 NameDescription
Public propertyBackupPriority Get the priority of the backup job (higher priority gets placed into thebackup file first)
Public propertyProvider Get the provider
Public propertyQueryPersistence Gets the instance of the query persistence service
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodCount Return a count of audits matching the query
Public methodDelete Obsolete the audit - Not supported
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteQueryOrm Execute a query for the specified model with query identifier returning the results
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGet(DataContext, Guid) Get the specified audit
Public methodGet(Guid, NullableGuid, IPrincipal) Gets the specified object by identifier
Public methodGetBackupAssets Get the backup asset
Public methodGetCurrentVersionFilter Return sql statement for version filter
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsert Insert the specified audit into the database
Public methodMapExpressionTReturn Map to a database sort expression
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodObsolete Obsolete the audit - Not supported
Public methodQuery(ExpressionFuncAuditEventData, Boolean, IPrincipal) Execute a query
Public methodQuery(ExpressionFuncAuditEventData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortAuditEventData) Executes a query for the specified objects
Public methodToModelInstance Map to model instance
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate Update the audit - Not supported
Top
Events
 NameDescription
Public eventDeleted Occurs when obsoleted.
Public eventDeleting Occurs when obsoleting.
Public eventInserted Fired when data is has been inserted
Public eventInserting Fired when data is being inserted
Public eventObsoleted Fired when data is has been inserted
Public eventObsoleting Fired when data is being obsoleted
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 Fired when data is has been inserted
Public eventUpdating Fired when data is being updated
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also