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