| ObjectExpanderLoadCollectionTAssociation Method (Guid) |
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
)
where TAssociation : new(), IdentifiedData, ISimpleAssociation
Public Shared Function LoadCollection(Of TAssociation As {New, IdentifiedData, ISimpleAssociation}) (
sourceKey As Guid
) As IEnumerable(Of TAssociation)
public:
generic<typename TAssociation>
where TAssociation : gcnew(), IdentifiedData, ISimpleAssociation
static IEnumerable<TAssociation>^ LoadCollection(
Guid sourceKey
)
static member LoadCollection :
sourceKey : Guid -> IEnumerable<'TAssociation> when 'TAssociation : new() and IdentifiedData and ISimpleAssociation
Parameters
- sourceKey
- Type: SystemGuid
The source key.
Type Parameters
- TAssociation
- The type of the t association.
Return Value
Type:
IEnumerableTAssociationIEnumerable<TAssociation>.
See Also