Click or drag to resize

GenericLocalMetadataRepositoryTMetadata Class

Provides generic basis for metadata editing
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.LocalGenericLocalRepositoryTMetadata
    SanteDB.DisconnectedClient.Services.LocalGenericLocalMetadataRepositoryTMetadata
      SanteDB.DisconnectedClient.Services.LocalGenericLocalConceptRepositoryTModel
      SanteDB.DisconnectedClient.Services.LocalGenericLocalSecurityRepositoryTSecurityEntity
      SanteDB.DisconnectedClient.Services.LocalLocalAssigningAuthorityRepository
      SanteDB.DisconnectedClient.Services.LocalLocalExtensionTypeRepository
      SanteDB.DisconnectedClient.Services.LocalLocalUserEntityRepository

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class GenericLocalMetadataRepository<TMetadata> : GenericLocalRepository<TMetadata>
where TMetadata : IdentifiedData

Type Parameters

TMetadata

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

The GenericLocalMetadataRepositoryTMetadata type exposes the following members.

Constructors
  NameDescription
Public methodGenericLocalMetadataRepositoryTMetadata
Initializes a new instance of the GenericLocalMetadataRepositoryTMetadata class
Top
Properties
  NameDescription
Protected propertyAlterPolicy (Overrides GenericLocalRepositoryTEntityAlterPolicy.)
Protected propertyDeletePolicy (Overrides GenericLocalRepositoryTEntityDeletePolicy.)
Protected propertyQueryPolicy (Overrides GenericLocalRepositoryTEntityQueryPolicy.)
Protected propertyReadPolicy (Overrides GenericLocalRepositoryTEntityReadPolicy.)
Public propertyServiceName
Get the service name
(Inherited from GenericLocalRepositoryTEntity.)
Protected propertyWritePolicy (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(ExpressionFuncTMetadata, Boolean)
Finds the specified metadata
(Overrides GenericLocalRepositoryTEntityFind(ExpressionFuncTEntity, Boolean).)
Public methodFind(ExpressionFuncTMetadata, Boolean, Int32, NullableInt32, Int32, ModelSortTMetadata)
Finds the specified metadata
(Overrides GenericLocalRepositoryTEntityFind(ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, ModelSortTEntity).)
Public methodFind(ExpressionFuncTMetadata, Boolean, Int32, NullableInt32, Int32, Guid, ModelSortTMetadata)
Finds the specified metadata
(Overrides GenericLocalRepositoryTEntityFind(ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, Guid, ModelSortTEntity).)
Public methodFindFast
Finds the specified metadata
(Overrides GenericLocalRepositoryTEntityFindFast(ExpressionFuncTEntity, Boolean, Int32, NullableInt32, Int32, Guid).)
Public methodGet(Guid)
Gets the specified metadata
(Overrides GenericLocalRepositoryTEntityGet(Guid).)
Public methodGet(Guid, Guid)
Gets the specified metadata
(Overrides GenericLocalRepositoryTEntityGet(Guid, Guid).)
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
Inserts the specified metadata
(Overrides GenericLocalRepositoryTEntityInsert(TEntity).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObsolete
obsoletes the specified metadata
(Overrides GenericLocalRepositoryTEntityObsolete(Guid).)
Public methodSave
Saves the specified metadata
(Overrides GenericLocalRepositoryTEntitySave(TEntity).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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