MetadataProperty.CreateAnnotation(String, Object) Method

Definition

Creates a metadata annotation having the specified name and value.

public static System.Data.Entity.Core.Metadata.Edm.MetadataProperty CreateAnnotation (string name, object value);
static member CreateAnnotation : string * obj -> System.Data.Entity.Core.Metadata.Edm.MetadataProperty
Public Shared Function CreateAnnotation (name As String, value As Object) As MetadataProperty

Parameters

name
String

The annotation name.

value
Object

The annotation value.

Returns

A MetadataProperty instance representing the created annotation.

Applies to