GeneratorAttribute Constructor
Initializes a new instance of the GeneratorAttribute class.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Sub New ( _
designerType As Type _
)
public GeneratorAttribute(
Type designerType
)
public:
GeneratorAttribute(
Type^ designerType
)
new :
designerType:Type -> GeneratorAttribute
public function GeneratorAttribute(
designerType : Type
)
Parameters
- designerType
Type: System.Type
The Type of the designer for this data generator. designerType must implement IGeneratorDesigner.
Remarks
You can create a custom designer for a custom data generator, or you can use DefaultGeneratorDesigner.
.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.