Click or drag to resize

EntityTelecomPersistenceService Class

A persistence service that operates on telecoms
Inheritance Hierarchy

Namespace: SanteDB.Persistence.Data.Services.Persistence.Entities
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public class EntityTelecomPersistenceService : EntityAssociationPersistenceService<EntityTelecomAddress, DbTelecomAddress>

The EntityTelecomPersistenceService type exposes the following members.

Constructors
 NameDescription
Public methodEntityTelecomPersistenceService DI constructor
Top
Properties
 NameDescription
Public propertyDbType Gets the database type
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public propertyModelType Gets the model type
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public propertyProvider The provider
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public propertyQueryPersistence Get the query persistence service
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public propertyServiceName Gets the service name
(Inherited from BasePersistenceServiceTModel, TDbModel)
Top
Methods
 NameDescription
Protected methodAfterPersisted After the object is persisted
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodApplyDefaultQueryFilters Apply default query filters to the query provided by the caller
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodBeforePersisting Prepare references for the insertion/update
(Overrides VersionedAssociationPersistenceServiceTModel, TDbModelBeforePersisting(DataContext, TModel))
Public methodCount Count the
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodDelete(Guid) Perform a delete of the specified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodDelete(Guid, TransactionMode, IPrincipal) Delete the specified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodDelete(DataContext, Guid, DeleteMode, Boolean) ADO non-generic delete
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodDeleteAll Delete all objects according to the current DataPersistenceControlContext
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoConvertToDataModel Convert model to a TDbModel
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodDoConvertToInformationModel Convert the telecom address
(Overrides IdentifiedDataPersistenceServiceTModel, TDbModelDoConvertToInformationModel(DataContext, TDbModel, Object))
Protected methodDoDeleteAllInternal Obsolete all objects
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoDeleteAllModel Do the deletion all model objects which match
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoDeleteFreeTextIndexInternal The object key is being purged - delete freetext entries for the object.
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoDeleteInternal Perform an obsoletion of the association
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoDeleteModel Perform the actual obsolete of a model object
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoDeleteReferencesInternal The object key is being purged - delete all references for the object
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodDoGetInternal Get a database model version direct from the database
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodDoGetModel Perform a get operation returning a model
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoInsertInternal Perform an insertion of the object
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoInsertModel Perform the actual insert of a model object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoQueryInternal Perform a query (appends the filter for obsolete sequence)
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoQueryInternalAsTReturn Perform the query however return a custom TReturn. This function allows you to modify the query instructions before sending query to the database
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodDoQueryModel Perform query model
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodDoTouchModel Perform a touch which updates the modification time
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodDoUpdateInternal Perform an updation of the object
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Protected methodDoUpdateModel Perform the actual update of a model object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodEnsureExistsTData Ensure that the object exists in the database
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteQueryOrm Execute the specified query on the specified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodExists(DataContext, Guid) True if the object exists in the database
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodExists(DataContext, Guid, Boolean) Return true if the specified object exists
(Inherited from BasePersistenceServiceTModel, TDbModel)
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(Guid) Gets the specified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodGet(DataContext, Guid) Gets the specified identified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodGet(Guid, NullableGuid, IPrincipal) Primary GET function for the data persistence layer
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodGetAdHocCacheKey Get the ad-hoc cache key
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodGetCurrentVersionFilter Apply any special versioning filters on the specified statement
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodGetCurrentVersionSequenceForSource Get current version sequence
(Inherited from EntityAssociationPersistenceServiceTModel, TDbModel)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsert(Object) Insert the specified object into the context
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodInsert(DataContext, IdentifiedData) Insert the specified object into the database
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodInsert(TModel, TransactionMode, IPrincipal) Perform an insert operation
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodMapExpressionTResult Map the sorting expression
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodQuery(Expression) Perform the specified query
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodQuery(ExpressionFuncTModel, Boolean, IPrincipal) Executes the specified query returning the query set
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodQuery(Expression, Int32, NullableInt32, Int32) Query the specified data store
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodQuery(ExpressionFuncTModel, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTModel) Query the specified repository
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodQuery(ExpressionFuncTModel, Boolean, Guid, Int32, NullableInt32, Int32, IPrincipal, ModelSortTModel) Query legacy interface (query by id)
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodToModelInstance(DataContext, Object) Convert the specified object to model
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodToModelInstance(Object, DataContext) Convert an instance to model
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTouch(DataContext, Guid) Touch the specified object
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodTouch(Guid, TransactionMode, IPrincipal) Touch the object with key but don't update it
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodTryGetKeyResolverTTarget Get the key resolver for TTarget
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodUpdate(Object) Updates the provided object to match in the data store
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodUpdate(DataContext, IdentifiedData) Update the specified object in the database context
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public methodUpdate(TModel, TransactionMode, IPrincipal) Perform the actual update
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected methodUpdateInternalAssociationsTAssociativeTable Update the internal
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodUpdateModelAssociationsTModelAssociation Update associated entities
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
Protected methodValidateCacheItem Validate the cacheEntry matches the version information in the database from dataModel
(Inherited from VersionedAssociationPersistenceServiceTModel, TDbModel)
Top
Events
 NameDescription
Public eventDeleted Fired after deleted
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventDeleting Fired before delete
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventInserted Fired after inserting has completed
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventInserting Fired when inserting
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventProgressChanged Fired when progress changes
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventQueried Fired after data has been queried
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventQuerying Fired prior to data querying
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventRetrieved Fired after data is retrieved
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventRetrieving Fired when data is being retrieved
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventUpdated Fired after updating
(Inherited from BasePersistenceServiceTModel, TDbModel)
Public eventUpdating Fired prior to updating
(Inherited from BasePersistenceServiceTModel, TDbModel)
Top
Fields
 NameDescription
Protected fieldm_adhocCache Ad-hoc caching service
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_configuration Configuration reference
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_dataCacheService Data caching service
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_localizationService Localization service
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_modelMapper Model mapper
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_queryPersistence Query persistence service
(Inherited from BasePersistenceServiceTModel, TDbModel)
Protected fieldm_tracer Get tracer for the specified persistence class
(Inherited from BasePersistenceServiceTModel, TDbModel)
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