ModelStore.CreateIdentifier – metoda (IList<String>, ICollection<String>)
Vytvoří pomocí nabízeného seznamu vnější část jména, označení rozlišování a kolekce názvy součástí 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 ( _
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
Parametry
- externalParts
Typ: System.Collections.Generic.IList<String>
IList<T> Částí název externího odkazu.
- parts
Typ: System.Collections.Generic.ICollection<String>
ICollection<T> Části 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 matice částí názvu se "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.