Click or drag to resize

EntityExtensionPersistenceService Methods

The EntityExtensionPersistenceService type exposes the following members.

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
(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 Converts an information model dbModel to TModel
(Inherited from IdentifiedDataPersistenceServiceTModel, TDbModel)
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
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