DataGenerationServices.GetRelevantModelClasses Method
Used to determine the set of model element changes to which the data generation plan will respond.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Function GetRelevantModelClasses ( _
modelSchema As ModelSchema _
) As IList(Of ModelElementClass)
public virtual IList<ModelElementClass> GetRelevantModelClasses(
ModelSchema modelSchema
)
public:
virtual IList<ModelElementClass^>^ GetRelevantModelClasses(
ModelSchema^ modelSchema
)
abstract GetRelevantModelClasses :
modelSchema:ModelSchema -> IList<ModelElementClass>
override GetRelevantModelClasses :
modelSchema:ModelSchema -> IList<ModelElementClass>
public function GetRelevantModelClasses(
modelSchema : ModelSchema
) : IList<ModelElementClass>
Parameters
- modelSchema
Type: Microsoft.Data.Schema.SchemaModel.ModelSchema
A ModelSchema object.
Return Value
Type: System.Collections.Generic.IList<ModelElementClass>
Remarks
After a data generation plan is created, its schema matches that of the project system. When the project system changes, the user has the option to synchronize the data generation plan with the project system. However, not all changes are necessarily relevant. For example, if a user adds a procedure to the project system, data generation does nothing.
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.
See Also
Reference
Microsoft.Data.Schema.Tools.DataGenerator Namespace
ElementClass