Condividi tramite


MetadataProperty.CreateAnnotation(String, Object) Metodo

Definizione

Crea un'annotazione dei metadati con il nome e il valore specificati.

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

Parametri

name
String

Nome annotazione.

value
Object

Valore dell'annotazione.

Restituisce

Istanza MetadataProperty che rappresenta l'annotazione creata.

Si applica a