DataGenerationServices.Annotate 方法
分析所提供的表,并附加数据生成批注以指定每列的配置信息。
命名空间: Microsoft.Data.Schema.Tools.DataGenerator
程序集: Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)
语法
声明
Public MustOverride Function Annotate ( _
targetTable As IDatabaseTable _
) As IList(Of DataSchemaError)
public abstract IList<DataSchemaError> Annotate(
IDatabaseTable targetTable
)
public:
virtual IList<DataSchemaError^>^ Annotate(
IDatabaseTable^ targetTable
) abstract
abstract Annotate :
targetTable:IDatabaseTable -> IList<DataSchemaError>
public abstract function Annotate(
targetTable : IDatabaseTable
) : IList<DataSchemaError>
参数
- targetTable
类型:Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseTable
一个 IDatabaseTable 对象。
返回值
类型:System.Collections.Generic.IList<DataSchemaError>
错误对象的列表,这些对象指示分析期间发生的所有问题。
备注
通过这种方法提供此信息,以使您的数据库架构模型可以参加Visual Studio项目。那里的用户可以创建和操作您的模型中已定义的数据库对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。