Click or drag to resize

ManufacturedMaterialPersistenceService Class

Manufactured material persistence service
Inheritance Hierarchy
System.Object
  SanteDB.DisconnectedClient.SQLite.SQLitePersistenceServiceBase<ManufacturedMaterial>
    SanteDB.DisconnectedClient.SQLite.Persistence.IdentifiedPersistenceService<ManufacturedMaterial, DbManufacturedMaterial, DbManufacturedMaterial.QueryResult>
      SanteDB.DisconnectedClient.SQLite.Persistence.ManufacturedMaterialPersistenceService

Namespace:  SanteDB.DisconnectedClient.SQLite.Persistence
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public class ManufacturedMaterialPersistenceService : IdentifiedPersistenceService<ManufacturedMaterial, DbManufacturedMaterial, DbManufacturedMaterial.QueryResult>

The ManufacturedMaterialPersistenceService type exposes the following members.

Constructors
  NameDescription
Public methodManufacturedMaterialPersistenceService
Initializes a new instance of the ManufacturedMaterialPersistenceService class
Top
Properties
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 manufactured material
(Overrides IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.InsertInternal(SQLiteDataContext, TModel).)
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 specified manufactured material
(Overrides IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.ObsoleteInternal(SQLiteDataContext, TModel).)
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
Material persister
(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
Updates the manufactured material
(Overrides IdentifiedPersistenceService<TModel, TDomain, TQueryResult>.UpdateInternal(SQLiteDataContext, TModel).)
Top
Events
  NameDescription
Public eventInserted
Occurs when inserted.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventInserting
Occurs when inserting.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventObsoleted
Occurs when obsoleted.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventObsoleting
Occurs when obsoleting.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventQueried
Occurs when queried.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventQuerying
Occurs when querying.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventRetrieved
Occurs when querying.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventRetrieving
Data has been retrieved
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventUpdated
Occurs when updated.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Public eventUpdating
Occurs when updating.
(Inherited from SQLitePersistenceServiceBase<TData>.)
Top
Fields
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