Compartir a través de


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

Crea un identificador de modelo único utilizando la lista de nombres de partes externas, indicación de distinción entre mayúsculas y minúsculas, y colección de nombres de parte proporcionadas.

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

Sintaxis

'Declaración
Public Function CreateIdentifier ( _
    externalParts As IList(Of String), _
    parts As ICollection(Of String) _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    IList<string> externalParts,
    ICollection<string> parts
)
public:
ModelIdentifier^ CreateIdentifier(
    IList<String^>^ externalParts, 
    ICollection<String^>^ parts
)
member CreateIdentifier : 
        externalParts:IList<string> * 
        parts:ICollection<string> -> ModelIdentifier 
public function CreateIdentifier(
    externalParts : IList<String>, 
    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.MyTable" estaría representado por una matriz de elementos de nombre con "dbo" y "MyTable".

Seguridad de .NET Framework

Vea también

Referencia

ModelStore Clase

CreateIdentifier (Sobrecarga)

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

ModelIdentifier