Click or drag to resize

DbSession Class

Represents a session in the database
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Data.ModelDbIdentified
    SanteDB.Persistence.Data.Model.SecurityDbSession

Namespace: SanteDB.Persistence.Data.Model.Security
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public class DbSession : DbIdentified

The DbSession type exposes the following members.

Constructors
 NameDescription
Public methodDbSessionInitializes a new instance of the DbSession class
Top
Properties
 NameDescription
Public propertyApplicationKey Identifies the application identifier to which the session belongs
Public propertyAudience Identifies the remote endpoint which established the session
Public propertyDeviceKey The device key
Public propertyKey Gets or sets the key of the session
(Overrides DbIdentifiedKey)
Public propertyNotAfter Identifies the expiration or not after time of the session
Public propertyNotBefore Identifies the not before or creation time of the session
Public propertyRefreshExpiration Identifies the expiration of the refresh token
Public propertyRefreshToken Identifies the refresh token which can be used to refresh the session
Public propertyRemoteEndpoint Identifies the remote endpoint which established the session
Public propertyUserKey Identifies the user key to which the session belongs
Top
Methods
 NameDescription
Public methodEquals Return whether the object has value equality
(Inherited from DbIdentified)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Get hash code
(Inherited from DbIdentified)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Represent this object as a string
(Inherited from DbIdentified)
Top
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also