ModelStore.CreateIdentifier – metoda (Boolean, ICollection<String>)
Vytvoří pomocí zadané kolekce částí názvu modelu jedinečný identifikátor.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
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
Parametry
- overrideCase
Typ: System.Boolean
- parts
Typ: System.Collections.Generic.ICollection<String>
Kolekce součástí jména.
Vrácená hodnota
Typ: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Jedinečný identifikátor.S částí stejný identifikátor již existuje, je vrácena hodnota tohoto identifikátoru.
Poznámky
Prvek s názvem "dbo.Tabulka" zastoupeny částí seznam obsahující "dbo" a "Tabulka".
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.