Sdílet prostřednictvím


GeneratorInit Constructor

Initializes a new instance of the GeneratorInit class that has the specified connection information.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Sub New ( _
    connection As IDbConnection _
)
'Usage
Dim connection As IDbConnection

Dim instance As New GeneratorInit(connection)
public GeneratorInit (
    IDbConnection connection
)
public:
GeneratorInit (
    IDbConnection^ connection
)
public GeneratorInit (
    IDbConnection connection
)
public function GeneratorInit (
    connection : IDbConnection
)

Parameters

  • connection
    A connection to a data source.

Remarks

connection is a connection to the database that is the target of the data generation operation.

See Also

Tasks

How to: Create Custom Data Generators

Reference

GeneratorInit Class
GeneratorInit Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Generator Class
IGenerator
GeneratorAttribute Class