DataGenerationServices.Annotate Method
Analyzes the provided table and attaches data generation annotations to specify the configuration information for each column.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
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>
Parameters
- targetTable
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseTable
An IDatabaseTable object.
Return Value
Type: System.Collections.Generic.IList<DataSchemaError>
A list of error objects that indicates any problems that occur during the analysis.
Remarks
Provide this information through this method so that your database schema model can be represented in Visual Studio projects. There users can create and manipulate database objects that you have defined in your model.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.