使用所提供的外部部分列表、区分大小写的指示和部分名称的集合创建唯一模型标识符。
命名空间:  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
参数
- externalParts
 类型:System.Collections.Generic.IList<String>
 外部引用名称部分的 IList<T>。
- overrideCase
 类型:System.Boolean
 true 表示不区分大小写;false 表示区分大小写。
- parts
 类型:System.Collections.Generic.ICollection<String>
 部分名称的 ICollection<T>。
返回值
类型:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
一个唯一标识符。如果已经有相同的部件的标识符存在,则返回该标识符。
备注
一个名为"dbo。MyTable"表示的名称部分数组,其中包含"dbo"和"MyTable"。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。