Click or drag to resize

Bundle Class

A bundle represents a batch of objects which are included within the bundle
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.Model.CollectionBundle

Namespace: SanteDB.Core.Model.Collection
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public class Bundle : IdentifiedData, IResourceCollection

The Bundle type exposes the following members.

Constructors
 NameDescription
Public methodBundle Create new bundle
Public methodBundle(IEnumerableIdentifiedData) Create new bundle
Public methodBundle(IEnumerableIdentifiedData, Int32, NullableInt32) Represent the bundle as
Top
Properties
 NameDescription
Public property_Self A query parameter which references itself - this is for query filters which pass the original data in
(Inherited from IdentifiedData)
Public propertyBatchOperation Gets or sets the operation
(Inherited from IdentifiedData)
Public propertyCorrelationKey A unique identifier which correlates this bundle with other bundles that are about the same "subject"
Public propertyCorrelationSequence Gets or sets the sequence control for this bundle
Public propertyCount Gets or sets the count in this bundle
Public propertyFocalObjects Entry into the bundle
Public propertyItem Gets or sets items in the bundle
Public propertyKey Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData)
Public propertyModifiedOn Gets the time the bundle was modified
(Overrides IdentifiedDataModifiedOn)
Public propertyOffset Gets or sets the count in this bundle
Public propertyTag Gets a tag which changes whenever the object is updated
(Inherited from IdentifiedData)
Public propertyTotalResults Gets or sets the total results
Public propertyType Gets the type registration of this object
(Inherited from IdentifiedData)
Top
Methods
 NameDescription
Public methodAdd Add item to the bundle
Public methodAddAnnotationT Add an annotated object
(Inherited from IdentifiedData)
Public methodAddAnnotationToAll Add annotation
Public methodAddRange Add range of items
Public methodClone Clone this object
(Inherited from IdentifiedData)
Public methodCopyAnnotations Copy annotations from another resource
(Inherited from IdentifiedData)
Public methodStatic memberCreateBundle(IdentifiedData, Boolean) Create a bundle
Public methodStatic memberCreateBundle(IEnumerableIdentifiedData, Int32, Int32, PropertyInfo, PropertyInfo) Create a bundle
Public methodDeepCopy Provide a deep copy of the specified data
(Overrides IdentifiedDataDeepCopy)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetAnnotationsT Get annotations of specified T
(Inherited from IdentifiedData)
Public methodGetFocalItems Gets from the item set only those items which are results
Public methodGetFocalObject Gets the single focal object for this object
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasTag True if the bundle has a tag
Public methodInsert Insert data at the specified index
Public methodIsEmpty Determines w
(Inherited from IdentifiedData)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReconstitute Reconstitutes the bundle (takes the flat reference structures and fills them out into proper object references)
Public methodRemove Remove the specified keyed object
Public methodRemoveAnnotation Remove annotation
(Inherited from IdentifiedData)
Public methodRemoveAnnotationsT Remove annotation
(Inherited from IdentifiedData)
Public methodSemanticEquals Determines the semantic equality of this object an obj
(Inherited from IdentifiedData)
Public methodShouldSerializeBatchOperation Should serialize batch operation
(Inherited from IdentifiedData)
Public methodShouldSerializeCorrelationKey 
Public methodShouldSerializeCorrelationSequence 
Public methodShouldSerializeKey True if key should be serialized
(Inherited from IdentifiedData)
Public methodShouldSerializeModifiedOn Never serialize modified on
(Inherited from IdentifiedData)
Public methodToDisplay To display value
(Inherited from IdentifiedData)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodToXmlString Represent the current data as a string
(Inherited from IdentifiedData)
Top
Fields
 NameDescription
Protected fieldm_annotations A list of custom tags which were added to this object
(Inherited from IdentifiedData)
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 MethodDelayLoadDisabled True if delay loading operations should be prevented
(Defined by ExtensionMethods)
Public Extension MethodDisablePersistenceValidation Defer check constraints on the object in the persistence layer
(Defined by DataContextExtensions)
Public Extension MethodGetDependentObjects Get dependent objects for model
(Defined by ExtensionMethods)
Public Extension MethodGetOrSetValueAtPath Get the property value
(Defined by ModelSetterMethods)
Public Extension MethodLastModifiedGets the last modification date of the object
(Defined by ExtensionMethods)
Public Extension MethodNullifyProperties Ensure that all properties in propertiesToNullify are null
(Defined by ExtensionMethods)
Public Extension MethodPreventDelayLoad Prevent delay load
(Defined by ExtensionMethods)
Public Extension MethodResolveGoldenRecord Resolve the managed target wrapper for ResolveManagedRecord(T)
(Defined by ExtensionMethods)
Public Extension MethodResolveManagedRecord Resolve the managed target wrapper for ResolveManagedRecord(T)
(Defined by ExtensionMethods)
Public Extension MethodResolveOwnedRecord Non generic method of ResolveOwnedRecordT(T, IPrincipal)
(Defined by ExtensionMethods)
Public Extension MethodShouldDisablePersistenceValidation Determine if the object has been flagged for constraint deferral
(Defined by DataContextExtensions)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Public Extension MethodWithCorrelationControl Adds correlation control onto bundle me
(Defined by ExtensionMethods)
Top
See Also