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

Creates a unique model identifier by using the provided list of external parts, indication of case sensitivity, and collection of part names.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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

Parameters

  • overrideCase
    Type: System.Boolean
    true for case-insensitive; false for case-sensitive.

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A unique identifier. If an identifier that has the same parts already exists, that identifier is returned.

Remarks

An element named "dbo.MyTable" would be represented by a name parts array that contains "dbo" and "MyTable".

.NET Framework Security

See Also

Reference

ModelStore Class

CreateIdentifier Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelIdentifier