ExtensionMethods.SetAnnotationValues Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.