Click or drag to resize

BundlePersistenceService Class

Represents a persistence service that wraps and persists the objects in a bundle
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Data.Services.Persistence.CollectionsBundlePersistenceService

Namespace: SanteDB.Persistence.Data.Services.Persistence.Collections
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public sealed class BundlePersistenceService : IDataPersistenceService<Bundle>, 
	IServiceImplementation, IAdoPersistenceProvider<Bundle>, IAdoPersistenceProvider, IDataPersistenceService, 
	IReportProgressChanged

The BundlePersistenceService type exposes the following members.

Constructors
 NameDescription
Public methodBundlePersistenceService DI constructor
Top
Properties
 NameDescription
Public propertyDbType Gets the database type
Public propertyModelType Gets the model type
Public propertyProvider Get the provider that this instance of the provider uses
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodCount Performs a fast count
Public methodDelete(Guid, TransactionMode, IPrincipal) Delete the specified identified data
Public methodDelete(DataContext, Guid, DeleteMode, Boolean) Do an obsolete of the model
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExists True if the object exists in the database
Public methodGet(DataContext, Guid) Perform a get on the context
Public methodGet(Guid, NullableGuid, IPrincipal) Get the object with identifier key.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsert(DataContext, Bundle) Insert the specified object into the database
Public methodInsert(DataContext, IdentifiedData) Insert the specified object into the database
Public methodInsert(Bundle, TransactionMode, IPrincipal) Insert the specified data.
Public methodQuery(DataContext, ExpressionFuncBundle, Boolean) Query for filter on context
Public methodQuery(ExpressionFuncBundle, Boolean, IPrincipal) Query for TData whose current version matches query
Public methodQuery(ExpressionFuncBundle, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortBundle) Query the specified data
Public methodQueryTExpression(ExpressionFuncTExpression, Boolean, IPrincipal) 
Public methodReorganizeForInsert Re-organize a bundle's contents for insert
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTouch Touch the specified object (creates a new version or updates the modified time)
Public methodUpdate(DataContext, Bundle) Update the specified object in the database context
Public methodUpdate(DataContext, IdentifiedData) Update the specified object in the database context
Public methodUpdate(Bundle, TransactionMode, IPrincipal) 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 eventObsoleted 
Public eventObsoleting 
Public eventProgressChanged Fired when the progress of this instance has changed
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
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