Share via


ModelStore.CreateIdentifier (Método) (array<String )

Crea un identificador de modelo único utilizando la matriz de nombres de parte proporcionada.

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

Sintaxis

'Declaración
Public Function CreateIdentifier ( _
    ParamArray parts As String() _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    params string[] parts
)
public:
ModelIdentifier^ CreateIdentifier(
    ... array<String^>^ parts
)
member CreateIdentifier : 
        parts:string[] -> ModelIdentifier 
public function CreateIdentifier(
    ... parts : String[]
) : ModelIdentifier

Parámetros

  • parts
    Tipo: array<System.String[]
    Una matriz de nombres de parte.

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