Поделиться через


DataGenerationServices.GetCopiedAnnotationTypes Method

Called when Visual Studio synchronizes a data generation plan with the existing project schema. This method enables Visual Studio to copy annotations from the project model to the data generation model.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Overridable Function GetCopiedAnnotationTypes ( _
    projectStore As DataSchemaModel _
) As IList(Of Type)
public virtual IList<Type> GetCopiedAnnotationTypes(
    DataSchemaModel projectStore
)
public:
virtual IList<Type^>^ GetCopiedAnnotationTypes(
    DataSchemaModel^ projectStore
)
abstract GetCopiedAnnotationTypes : 
        projectStore:DataSchemaModel -> IList<Type> 
override GetCopiedAnnotationTypes : 
        projectStore:DataSchemaModel -> IList<Type> 
public function GetCopiedAnnotationTypes(
    projectStore : DataSchemaModel
) : IList<Type>

Parameters

Return Value

Type: System.Collections.Generic.IList<Type>
The list of annotation types in the model.

Remarks

Provide this information through this method so that your database schema model can be represented in Visual Studio projects, where 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