Compartir a través de


ModelStore.CreateNamedAnnotation (Método) (Type, ModelIdentifier)

Crea un objeto ModelAnnotation con nombre utilizando el identificador de modelo proporcionado.

Espacio de nombres:  Microsoft.Data.Schema.SchemaModel
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Public Function CreateNamedAnnotation ( _
    annotationType As Type, _
    identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
    Type annotationType,
    ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
    Type^ annotationType, 
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        annotationType:Type * 
        identifier:ModelIdentifier -> IModelAnnotation 
public function CreateNamedAnnotation(
    annotationType : Type, 
    identifier : ModelIdentifier
) : IModelAnnotation

Parámetros

Valor devuelto

Tipo: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Una anotación del modelo.

Seguridad de .NET Framework

Vea también

Referencia

ModelStore Clase

CreateNamedAnnotation (Sobrecarga)

Microsoft.Data.Schema.SchemaModel (Espacio de nombres)

ModelIdentifier

IModelAnnotation