Поделиться через


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

Creates a unique model identifier by using the provided collection of name parts.

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

Syntax

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

Parameters

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 parts list that contains "dbo" and "MyTable".

.NET Framework Security

See Also

Reference

ModelStore Class

CreateIdentifier Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelIdentifier