Sdílet prostřednictvím


ModelStore.CreateIdentifier – metoda (IList<String>, Boolean, ICollection<String>)

Vytvoří model jedinečný identifikátor pomocí seznamu poskytnutého vnějších částí, údaj o rozlišování a kolekce součástí jména.

Obor názvů:  Microsoft.Data.Schema.SchemaModel
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

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

Parametry

  • overrideCase
    Typ: System.Boolean
    true pro rozlišována. falsepro velká a malá písmena.

Vrácená hodnota

Typ: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Jedinečný identifikátor.Pokud identifikátor, který má stejné části již existuje, bude tento identifikátor vrácena.

Poznámky

Prvek s názvem "dbo.Tabulka" zastoupeny název části pole, které obsahuje "dbo" a "Tabulka".

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelStore Třída

CreateIdentifier – přetížení

Microsoft.Data.Schema.SchemaModel – obor názvů

ModelIdentifier