ModelStore.CreateIdentifier 方法 (Boolean, ICollection<String>)

使用提供的名稱部分集合,建立唯一模型識別項。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
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

參數

傳回值

型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
唯一的識別項。如果具有相同部分的識別項已經存在,則會傳回這個識別項。

備註

一個名為"dbo。MyTable"表示的部分清單,其中包含"dbo"和"MyTable"。

.NET Framework 安全性

請參閱

參考

ModelStore 類別

CreateIdentifier 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelIdentifier