Click or drag to resize

EntityRelationshipResourceHandler Class

Entity relationship resource handler
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.CommonResourceHandlerBaseEntityRelationship
    SanteDB.Rest.HDSI.ResourcesResourceHandlerBaseEntityRelationship
      SanteDB.Rest.HDSI.ResourcesEntityRelationshipResourceHandler

Namespace:  SanteDB.Rest.HDSI.Resources
Assembly:  SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntax
public class EntityRelationshipResourceHandler : ResourceHandlerBase<EntityRelationship>

The EntityRelationshipResourceHandler type exposes the following members.

Constructors
  NameDescription
Public methodEntityRelationshipResourceHandler
DI constructor
Top
Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of this resource handler
(Inherited from ResourceHandlerBaseTResource.)
Public propertyChildResources
Get all child resources
(Inherited from ResourceHandlerBaseTData.)
Public propertyOperations
Get all child resources
(Inherited from ResourceHandlerBaseTData.)
Public propertyResourceName
Get the name of the resource
(Overrides ResourceHandlerBaseTResourceResourceName.)
Public propertyScope
Gets the scope
(Inherited from ResourceHandlerBaseTData.)
Public propertyServiceName
Get service name
(Inherited from ResourceHandlerBaseTResource.)
Public propertyType
Gets the type
(Inherited from ResourceHandlerBaseTResource.)
Top
Methods
  NameDescription
Public methodAddChildObject
Add an associated entity
(Inherited from ResourceHandlerBaseTData.)
Public methodAddChildResource
Add the property handler to this handler
(Inherited from ResourceHandlerBaseTData.)
Public methodAddOperation
Add the child operation
(Inherited from ResourceHandlerBaseTData.)
Public methodCancel
Cancel the specified object
(Inherited from ResourceHandlerBaseTData.)
Public methodCheckIn
Release the specified lock
(Inherited from ResourceHandlerBaseTData.)
Public methodCheckOut
Attempt to get a lock on the specified object
(Inherited from ResourceHandlerBaseTData.)
Public methodCreate
Create a resource
(Inherited from ResourceHandlerBaseTResource.)
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 methodGet
Read clinical data
(Inherited from ResourceHandlerBaseTResource.)
Public methodGetChildObject
Get associated entity
(Inherited from ResourceHandlerBaseTData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
(Inherited from ResourceHandlerBaseTResource.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvokeOperation
Invoke the specified operation
(Inherited from ResourceHandlerBaseTData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNullify
Nullify the specified object
(Inherited from ResourceHandlerBaseTData.)
Public methodObsolete
OBsoletion wrapper with locking
(Inherited from ResourceHandlerBaseTData.)
Public methodQuery(NameValueCollection)
Perform a query
(Inherited from ResourceHandlerBaseTResource.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Massage query parameters
(Overrides ResourceHandlerBaseTResourceQuery(NameValueCollection, Int32, Int32, Int32).)
Public methodQueryChildObjects
Query for associated entities
(Inherited from ResourceHandlerBaseTData.)
Public methodRemoveChildObject
Remove an associated entity
(Inherited from ResourceHandlerBaseTData.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTouch
Touch the specified object
(Inherited from ResourceHandlerBaseTData.)
Public methodTryGetChainedResource
Try to get a chained resource
(Inherited from ResourceHandlerBaseTData.)
Public methodTryGetOperation
Try to get operation
(Inherited from ResourceHandlerBaseTData.)
Public methodUpdate
Update with lock
(Inherited from ResourceHandlerBaseTData.)
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
Remarks
This is a special resource handler which only supports updates/inserts. It actually just creates a new version of an entity on the server so the changes propagate down
See Also