Click or drag to resize

GenericLocalClinicalDataRepository<TModel> Class

Represents generic local clinical data repository
Inheritance Hierarchy
System.Object
  SanteDB.DisconnectedClient.Services.Local.GenericLocalRepository<TModel>
    SanteDB.DisconnectedClient.Services.Local.GenericLocalNullifiedRepository<TModel>
      SanteDB.DisconnectedClient.Services.Local.GenericLocalClinicalDataRepository<TModel>
        SanteDB.DisconnectedClient.Services.Local.GenericLocalActRepository<TAct>

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class GenericLocalClinicalDataRepository<TModel> : GenericLocalNullifiedRepository<TModel>
where TModel : IdentifiedData, IHasState

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "T:SanteDB.DisconnectedClient.Services.Local.GenericLocalClinicalDataRepository`1"]

The GenericLocalClinicalDataRepository<TModel> type exposes the following members.

Constructors
  NameDescription
Public methodGenericLocalClinicalDataRepository<TModel>
Initializes a new instance of the GenericLocalClinicalDataRepository<TModel> class
Top
Properties
  NameDescription
Protected propertyAlterPolicy (Overrides GenericLocalRepository<TEntity>.AlterPolicy.)
Protected propertyDeletePolicy (Overrides GenericLocalRepository<TEntity>.DeletePolicy.)
Protected propertyQueryPolicy (Overrides GenericLocalRepository<TEntity>.QueryPolicy.)
Protected propertyReadPolicy (Overrides GenericLocalRepository<TEntity>.ReadPolicy.)
Public propertyServiceName
Get the service name
(Inherited from GenericLocalRepository<TEntity>.)
Protected propertyWritePolicy (Overrides GenericLocalRepository<TEntity>.WritePolicy.)
Top
Methods
  NameDescription
Protected methodDemand
Demand permission
(Inherited from GenericLocalRepository<TEntity>.)
Public methodDemandAlter
Demand alter permission
(Inherited from GenericLocalRepository<TEntity>.)
Public methodDemandDelete
Demand delete permission
(Inherited from GenericLocalRepository<TEntity>.)
Public methodDemandQuery
Demand query
(Inherited from GenericLocalRepository<TEntity>.)
Public methodDemandRead
Demand read
(Inherited from GenericLocalRepository<TEntity>.)
Public methodDemandWrite
Demand write permission
(Inherited from GenericLocalRepository<TEntity>.)
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.)
Public methodFind(Expression<Func<TEntity, Boolean>>)
Perform a simple find
(Inherited from GenericLocalRepository<TEntity>.)
Public methodFind(Expression<Func<TEntity, Boolean>>, Int32, Nullable<Int32>, Int32,ModelSort<TEntity>[])
Perform a normal find
(Inherited from GenericLocalRepository<TEntity>.)
Public methodFind(Expression<Func<TEntity, Boolean>>, Int32, Nullable<Int32>, Int32, Guid,ModelSort<TEntity>[])
Find with stored query parameters
(Inherited from GenericLocalRepository<TEntity>.)
Public methodFindFast
Perform a faster version of the query for an object
(Inherited from GenericLocalRepository<TEntity>.)
Public methodGet(Guid)
Get the specified key
(Inherited from GenericLocalRepository<TEntity>.)
Public methodGet(Guid, Guid)
Get specified data from persistence
(Inherited from GenericLocalRepository<TEntity>.)
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
Performs insert of object
(Inherited from GenericLocalRepository<TEntity>.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullify
Nullify the specified object
(Inherited from GenericLocalNullifiedRepository<TModel>.)
Public methodObsolete
Obsolete the specified data
(Inherited from GenericLocalRepository<TEntity>.)
Public methodSave
Save the specified entity (insert or update)
(Inherited from GenericLocalRepository<TEntity>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTouch
Touch the specified object
(Inherited from GenericLocalNullifiedRepository<TModel>.)
Public methodValidate
Validate a patient before saving
(Inherited from GenericLocalRepository<TEntity>.)
Top
Events
  NameDescription
Public eventInserted (Inherited from GenericLocalRepository<TEntity>.)
Public eventInserting (Inherited from GenericLocalRepository<TEntity>.)
Public eventObsoleted (Inherited from GenericLocalRepository<TEntity>.)
Public eventObsoleting (Inherited from GenericLocalRepository<TEntity>.)
Public eventQueried (Inherited from GenericLocalRepository<TEntity>.)
Public eventQuerying (Inherited from GenericLocalRepository<TEntity>.)
Public eventRetrieved (Inherited from GenericLocalRepository<TEntity>.)
Public eventRetrieving (Inherited from GenericLocalRepository<TEntity>.)
Public eventSaved (Inherited from GenericLocalRepository<TEntity>.)
Public eventSaving (Inherited from GenericLocalRepository<TEntity>.)
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