Share via


ModelStore.CreateIdentifier Method (Boolean, array<String )

Creates a unique model identifier by using the provided case-sensitive indication and array of part names.

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

Syntax

'Declaration
Public Function CreateIdentifier ( _
    overrideCase As Boolean, _
    ParamArray parts As String() _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    bool overrideCase,
    params string[] parts
)
public:
ModelIdentifier^ CreateIdentifier(
    bool overrideCase, 
    ... array<String^>^ parts
)
member CreateIdentifier : 
        overrideCase:bool * 
        parts:string[] -> ModelIdentifier 
public function CreateIdentifier(
    overrideCase : boolean, 
    ... parts : 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 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

See Also

Reference

ModelStore Class

CreateIdentifier Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelIdentifier