| ObjectExpanderLoadCollectionTAssociation Method (Guid, NullableInt32) |
Delay loads the specified collection association
Namespace:
SanteDB.Rest.Common
Assembly:
SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax public static IEnumerable<TAssociation> LoadCollection<TAssociation>(
Guid sourceKey,
int? sourceSequence
)
where TAssociation : new(), IdentifiedData, IVersionedAssociation
Public Shared Function LoadCollection(Of TAssociation As {New, IdentifiedData, IVersionedAssociation}) (
sourceKey As Guid,
sourceSequence As Integer?
) As IEnumerable(Of TAssociation)
public:
generic<typename TAssociation>
where TAssociation : gcnew(), IdentifiedData, IVersionedAssociation
static IEnumerable<TAssociation>^ LoadCollection(
Guid sourceKey,
Nullable<int> sourceSequence
)
static member LoadCollection :
sourceKey : Guid *
sourceSequence : Nullable<int> -> IEnumerable<'TAssociation> when 'TAssociation : new() and IdentifiedData and IVersionedAssociation
Parameters
- sourceKey
- Type: SystemGuid
The source key. - sourceSequence
- Type: SystemNullableInt32
The source sequence.
Type Parameters
- TAssociation
- The type of the t association.
Return Value
Type:
IEnumerableTAssociationIEnumerable<TAssociation>.
See Also