ModelStore.CreateIdentifier 方法 (array<String )

使用所提供的部分名称的数组创建唯一模型标识符。

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

语法

声明
Public Function CreateIdentifier ( _
    ParamArray parts As String() _
) As ModelIdentifier
public ModelIdentifier CreateIdentifier(
    params string[] parts
)
public:
ModelIdentifier^ CreateIdentifier(
    ... array<String^>^ parts
)
member CreateIdentifier : 
        parts:string[] -> ModelIdentifier 
public function CreateIdentifier(
    ... parts : String[]
) : ModelIdentifier

参数

返回值

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

备注

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

.NET Framework 安全性

请参见

参考

ModelStore 类

CreateIdentifier 重载

Microsoft.Data.Schema.SchemaModel 命名空间

ModelIdentifier