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

使用所提供的外部部分名称列表、区分大小写的指示和部分名称的集合创建唯一模型标识符。

命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Function CreateIdentifier ( _
    externalParts As IList(Of String), _
    parts As ICollection(Of String) _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    IList<string> externalParts,
    ICollection<string> parts
)
public:
ModelIdentifier^ CreateIdentifier(
    IList<String^>^ externalParts, 
    ICollection<String^>^ parts
)
member CreateIdentifier : 
        externalParts:IList<string> * 
        parts:ICollection<string> -> ModelIdentifier 
public function CreateIdentifier(
    externalParts : IList<String>, 
    parts : ICollection<String>
) : ModelIdentifier

参数

返回值

类型:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
一个唯一标识符。如果已存在具有相同部分的标识符,则返回该标识符。

备注

一个名为“dbo.MyTable”的元素将由一个具有“dbo”和“MyTable”的名称部分数组表示。

.NET Framework 安全性

请参见

参考

ModelStore 类

CreateIdentifier 重载

Microsoft.Data.Schema.SchemaModel 命名空间

ModelIdentifier