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

使用提供的外部部分清單、區分大小寫的指示和部分名稱的集合,建立唯一模型識別項。

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

語法

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

參數

  • overrideCase
    型別:System.Boolean
    true 表示不區分大小寫,false 表示區分大小寫。

傳回值

型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
唯一的識別項。如果已經有相同的部件的識別字存在,則返回該識別字。

備註

一個名為"dbo。MyTable"表示的名稱部分陣列,其中包含"dbo"和"MyTable"。

.NET Framework 安全性

請參閱

參考

ModelStore 類別

CreateIdentifier 多載

Microsoft.Data.Schema.SchemaModel 命名空間

ModelIdentifier