Jaa


ExtensionMethods.SetAnnotationValues Method

Definition

Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed.

public static void SetAnnotationValues (this Microsoft.OData.Edm.IEdmModel model, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationBinding> annotations);
static member SetAnnotationValues : Microsoft.OData.Edm.IEdmModel * seq<Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationBinding> -> unit
<Extension()>
Public Sub SetAnnotationValues (model As IEdmModel, annotations As IEnumerable(Of IEdmDirectValueAnnotationBinding))

Parameters

model
IEdmModel

The model in which to set the annotations.

annotations
IEnumerable<IEdmDirectValueAnnotationBinding>

The annotations to set.

Applies to