Click or drag to resize

LocalConceptRepository Class

Represents a service which is responsible for the maintenance of concepts using local persistence.
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.LocalGenericLocalRepositoryConcept
    SanteDB.DisconnectedClient.Services.LocalGenericLocalNullifiedRepositoryConcept
      SanteDB.DisconnectedClient.Services.LocalLocalConceptRepository

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class LocalConceptRepository : GenericLocalNullifiedRepository<Concept>, 
	IConceptRepositoryService, IRepositoryService<Concept>, IServiceImplementation

The LocalConceptRepository type exposes the following members.

Constructors
  NameDescription
Public methodLocalConceptRepository
Privacy enforcement service
Top
Properties
  NameDescription
Protected propertyAlterPolicy
Alater policy for concepts
(Overrides GenericLocalRepositoryTEntityAlterPolicy.)
Protected propertyDeletePolicy
Delete policy for concepts
(Overrides GenericLocalRepositoryTEntityDeletePolicy.)
Protected propertyQueryPolicy
Query policy for concepts
(Overrides GenericLocalRepositoryTEntityQueryPolicy.)
Protected propertyReadPolicy
Read policies for concepts
(Overrides GenericLocalRepositoryTEntityReadPolicy.)
Public propertyServiceName
Get the service name
(Inherited from GenericLocalRepositoryTEntity.)
Protected propertyWritePolicy
Write policy for concepts
(Overrides GenericLocalRepositoryTEntityWritePolicy.)
Top
Methods
  NameDescription
Protected methodDemand
Demand permission
(Inherited from GenericLocalRepositoryTEntity.)
Public methodDemandAlter
Demand alter permission
(Inherited from GenericLocalRepositoryTEntity.)
Public methodDemandDelete
Demand delete permission
(Inherited from GenericLocalRepositoryTEntity.)
Public methodDemandQuery
Demand query
(Inherited from GenericLocalRepositoryTEntity.)
Public methodDemandRead
Demand read
(Inherited from GenericLocalRepositoryTEntity.)
Public methodDemandWrite
Demand write permission
(Inherited from GenericLocalRepositoryTEntity.)
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(ExpressionFuncTEntity, Boolean)
Perform a simple find
(Inherited from GenericLocalRepositoryTEntity.)
Public methodFind(ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, ModelSortTEntity)
Perform a normal find
(Inherited from GenericLocalRepositoryTEntity.)
Public methodFind(ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, Guid, ModelSortTEntity)
Find with stored query parameters
(Inherited from GenericLocalRepositoryTEntity.)
Public methodFindConceptsByName
Searches for a concept by name and language.
Public methodFindConceptsByReferenceTerm(String, String)
Find concepts by reference terms
Public methodFindConceptsByReferenceTerm(String, Uri)
Finds a concept by reference term.
Public methodFindFast
Perform a faster version of the query for an object
(Inherited from GenericLocalRepositoryTEntity.)
Public methodFindReferenceTermsByConcept
Get the specified reference term for the specified code system
Public methodGet(Guid)
Get the specified key
(Inherited from GenericLocalRepositoryTEntity.)
Public methodGet(Guid, Guid)
Get specified data from persistence
(Inherited from GenericLocalRepositoryTEntity.)
Public methodGetConcept
Get a concept by its mnemonic
Public methodGetConceptByReferenceTerm
Finds a concept by reference term only where the concept is equivalent
Public methodGetConceptReferenceTerm(String, String)
Get the concept reference term in the code system by the concept mnemonic
Public methodGetConceptReferenceTerm(Guid, String, Boolean)
Get the specified reference term for the specified code system
Public methodGetConceptSetMembers
Get set members for the specified concept set
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetName
Get the name of the concept
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImplies
Returns a value which indicates whether a implies b
Public methodInsert
Performs insert of object
(Inherited from GenericLocalRepositoryTEntity.)
Public methodIsMember(ConceptSet, Concept)
Determine if the concept set contains the specified concept
Public methodIsMember(Guid, Guid)
Determine if the concept set contains the specified concept
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullify
Nullify the specified object
(Inherited from GenericLocalNullifiedRepositoryTModel.)
Public methodObsolete
Obsolete the specified data
(Inherited from GenericLocalRepositoryTEntity.)
Public methodSave
Save the specified entity (insert or update)
(Inherited from GenericLocalRepositoryTEntity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTouch
Touch the specified object
(Inherited from GenericLocalNullifiedRepositoryTModel.)
Public methodValidate
Validate a patient before saving
(Inherited from GenericLocalRepositoryTEntity.)
Top
Events
  NameDescription
Public eventInserted (Inherited from GenericLocalRepositoryTEntity.)
Public eventInserting (Inherited from GenericLocalRepositoryTEntity.)
Public eventObsoleted (Inherited from GenericLocalRepositoryTEntity.)
Public eventObsoleting (Inherited from GenericLocalRepositoryTEntity.)
Public eventQueried (Inherited from GenericLocalRepositoryTEntity.)
Public eventQuerying (Inherited from GenericLocalRepositoryTEntity.)
Public eventRetrieved (Inherited from GenericLocalRepositoryTEntity.)
Public eventRetrieving (Inherited from GenericLocalRepositoryTEntity.)
Public eventSaved (Inherited from GenericLocalRepositoryTEntity.)
Public eventSaving (Inherited from GenericLocalRepositoryTEntity.)
Top
Fields
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also