ModelStore.CreateIdentifier Method (ICollection<String>)
Creates a unique model identifier by using the provided collection of part names.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function CreateIdentifier ( _
parts As ICollection(Of String) _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
ICollection<string> parts
)
public:
ModelIdentifier^ CreateIdentifier(
ICollection<String^>^ parts
)
member CreateIdentifier :
parts:ICollection<string> -> ModelIdentifier
public function CreateIdentifier(
parts : ICollection<String>
) : ModelIdentifier
Parameters
- parts
Type: System.Collections.Generic.ICollection<String>
An ICollection<T> of part names.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A unique identifier. If an identifier with the same parts already exists, that identifier is returned.
Remarks
An element named "dbo.MyTable" would be represented by a name parts array with "dbo" and "MyTable".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.