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
- projectStore
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A DataSchemaModel object that represents the data generation plan.
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
- 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.