Click or drag to resize

ControlActPersistenceService Methods

The ControlActPersistenceService type exposes the following members.

Methods
  NameDescription
Protected methodAppendOrderByStatement
Append order by statement
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Protected methodBeforeInsertDomainObject
Before inserting an instance
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Protected methodCacheConvert
Try conversion from cache otherwise map
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Public methodCount
Perform a count
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodCreateConnection
Creates the connection.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodCreateReadonlyConnection
Create readonly connection
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodCurrentUserUuid
Get the current user UUID.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFireInserted
Fire inserting event
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodFireInserting
Fire inserting event
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodFromModelInstance
Froms the model instance.
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Public methodGet
Get the specified key.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Object)
Insert the specified object
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodInsert(SQLiteDataContext, TData)
Performthe actual insert.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodInsert(TData, TransactionMode, IPrincipal)
Insert the specified data.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodInsertInternal
Insert the specified TModel into the database
(Inherited from ActDerivedPersistenceService<TModel, TData, TQueryResult>.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObsolete(Object)
Obsoletes the specified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodObsolete(SQLiteDataContext, TData)
Performs the actual obsoletion
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodObsolete(TData, TransactionMode, IPrincipal)
Obsolete the specified identified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodObsoleteInternal
Obsolete the object
(Inherited from ActDerivedPersistenceService<TModel, TData, TQueryResult>.)
Public methodQuery(Expression<Func<TData, Boolean>>, IPrincipal)
Query the specified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQuery(SQLiteDataContext, Expression<Func<TData, Boolean>>)
Query internal without caring about limiting
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQuery(Expression, Int32, Nullable<Int32>, Int32)
Query the specified object
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQuery(Expression<Func<TData, Boolean>>, Int32, Nullable<Int32>, Int32, IPrincipal,ModelSort<TData>[])
Query the specified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQuery(Expression<Func<TData, Boolean>>, Guid, Int32, Nullable<Int32>, Int32, IPrincipal,ModelSort<TData>[])
Perform a stored query
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQuery(SQLiteDataContext, Expression<Func<TData, Boolean>>, Guid, Int32, Int32, Int32, Boolean,ModelSort<TData>[])
Performs the actual query
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodQueryFast
Query the specified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodQueryInternal(SQLiteDataContext, Expression<Func<TModel, Boolean>>, Int32, Int32, Int32, Guid, Boolean,ModelSort<TModel>[])
Performs the actual query
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Protected methodQueryInternal(SQLiteDataContext, String, IDictionary<String, Object>, Int32, Int32, Int32, Guid, Boolean,ModelSort<TModel>[])
Performs the actual query
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Public methodToModelInstance
Convert to model instance
(Overrides IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.ToModelInstance(Object, SQLiteDataContext).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(Object)
Update the specified object
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodUpdate(SQLiteDataContext, TData)
Perform the actual update.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public methodUpdate(TData, TransactionMode, IPrincipal)
Update the specified data
(Inherited from SQLitePersistenceServiceBase<TData>.)
Protected methodUpdateAssociatedItems<TAssociation, TModelEx>
Update associated version items
(Inherited from IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.)
Protected methodUpdateInternal
Update the specified TModel
(Inherited from ActDerivedPersistenceService<TModel, TData, TQueryResult>.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvert<TReturn>
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 MethodGetInstanceOf<TDomain>
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also