Condividi tramite


Metodo SerializationExtensionMethods.GetAssociationSetAnnotations

Ottiene le annotazioni collegate all'associazione serializzata per una destinazione di navigazione di un set di entità.

Spazio dei nomi  Microsoft.Data.Edm.Csdl
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Sub GetAssociationSetAnnotations ( _
    model As IEdmModel, _
    entitySet As IEdmEntitySet, _
    property As IEdmNavigationProperty, _
    <OutAttribute> ByRef annotations As IEnumerable(Of IEdmDirectValueAnnotation), _
    <OutAttribute> ByRef end1Annotations As IEnumerable(Of IEdmDirectValueAnnotation), _
    <OutAttribute> ByRef end2Annotations As IEnumerable(Of IEdmDirectValueAnnotation) _
)
'Utilizzo
Dim model As IEdmModel
Dim entitySet As IEdmEntitySet
Dim property As IEdmNavigationProperty
Dim annotations As IEnumerable(Of IEdmDirectValueAnnotation)
Dim end1Annotations As IEnumerable(Of IEdmDirectValueAnnotation)
Dim end2Annotations As IEnumerable(Of IEdmDirectValueAnnotation)

model.GetAssociationSetAnnotations(entitySet, _
    property, annotations, end1Annotations, _
    end2Annotations)
public static void GetAssociationSetAnnotations(
    this IEdmModel model,
    IEdmEntitySet entitySet,
    IEdmNavigationProperty property,
    out IEnumerable<IEdmDirectValueAnnotation> annotations,
    out IEnumerable<IEdmDirectValueAnnotation> end1Annotations,
    out IEnumerable<IEdmDirectValueAnnotation> end2Annotations
)
[ExtensionAttribute]
public:
static void GetAssociationSetAnnotations(
    IEdmModel^ model, 
    IEdmEntitySet^ entitySet, 
    IEdmNavigationProperty^ property, 
    [OutAttribute] IEnumerable<IEdmDirectValueAnnotation^>^% annotations, 
    [OutAttribute] IEnumerable<IEdmDirectValueAnnotation^>^% end1Annotations, 
    [OutAttribute] IEnumerable<IEdmDirectValueAnnotation^>^% end2Annotations
)
static member GetAssociationSetAnnotations : 
        model:IEdmModel * 
        entitySet:IEdmEntitySet * 
        property:IEdmNavigationProperty * 
        annotations:IEnumerable<IEdmDirectValueAnnotation> byref * 
        end1Annotations:IEnumerable<IEdmDirectValueAnnotation> byref * 
        end2Annotations:IEnumerable<IEdmDirectValueAnnotation> byref -> unit 
public static function GetAssociationSetAnnotations(
    model : IEdmModel, 
    entitySet : IEdmEntitySet, 
    property : IEdmNavigationProperty, 
    annotations : IEnumerable<IEdmDirectValueAnnotation>, 
    end1Annotations : IEnumerable<IEdmDirectValueAnnotation>, 
    end2Annotations : IEnumerable<IEdmDirectValueAnnotation>
)

Parametri

Nota sull'utilizzo

In Visual Basic e C# questo metodo può essere chiamato come metodo di istanza su qualsiasi oggetto di tipo IEdmModel. Quando si utilizza la sintassi del metodo di istanza per chiamare questo metodo, omettere il primo parametro. Per ulteriori informazioni, vedere https://msdn.microsoft.com/it-it/library/bb384936(v=vs.103) o https://msdn.microsoft.com/it-it/library/bb383977(v=vs.103).

Vedere anche

Riferimento

SerializationExtensionMethods Classe

Spazio dei nomi Microsoft.Data.Edm.Csdl