Compartir a través de


ModelStore.CreateIdentifier (Método) (Boolean, ICollection<String>)

Crea un identificador de modelo único utilizando la colección de partes del nombre proporcionada.

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

Sintaxis

'Declaración
Public Function CreateIdentifier ( _
    overrideCase As Boolean, _
    parts As ICollection(Of String) _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    bool overrideCase,
    ICollection<string> parts
)
public:
ModelIdentifier^ CreateIdentifier(
    bool overrideCase, 
    ICollection<String^>^ parts
)
member CreateIdentifier : 
        overrideCase:bool * 
        parts:ICollection<string> -> ModelIdentifier 
public function CreateIdentifier(
    overrideCase : boolean, 
    parts : ICollection<String>
) : ModelIdentifier

Parámetros

Valor devuelto

Tipo: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Un identificador único.Si ya existe un identificador con las mismas partes, se devuelve dicho identificador.

Comentarios

Un elemento denominado “dbo.mitabla” sería representado por una lista que contiene “dbo” y “Mitabla”.

Seguridad de .NET Framework

Vea también

Referencia

ModelStore Clase

CreateIdentifier (Sobrecarga)

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

ModelIdentifier