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
- annotationType
Tipo: System.Type
Type del que se deriva this
- identifier
Tipo: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
ModelIdentifier que contiene el nombre de la anotación.
Valor devuelto
Tipo: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Una anotación del modelo.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
CreateNamedAnnotation (Sobrecarga)