Share via


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

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

See Also

Reference

DataGenerationServices Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

ModelAnnotation

IDatabaseTable

DataSchemaError