Compartir a través de


ModelStore.CreateNamedAnnotation<TAnnotation> (Método) (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(Of TAnnotation As IModelAnnotation) ( _
    identifier As ModelIdentifier _
) As TAnnotation
public TAnnotation CreateNamedAnnotation<TAnnotation>(
    ModelIdentifier identifier
)
where TAnnotation : IModelAnnotation
public:
generic<typename TAnnotation>
where TAnnotation : IModelAnnotation
TAnnotation CreateNamedAnnotation(
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        identifier:ModelIdentifier -> 'TAnnotation  when 'TAnnotation : IModelAnnotation
JScript no admite el uso de métodos ni tipos genéricos.

Parámetros de tipo

Parámetros

Valor devuelto

Tipo: TAnnotation
Una anotación del modelo con nombre.

Seguridad de .NET Framework

Vea también

Referencia

ModelStore Clase

CreateNamedAnnotation (Sobrecarga)

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

ModelIdentifier