IGenerator Interface
Defines the data generator contract.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Interface IGenerator _
Inherits IExtension, IDisposable
[CLSCompliantAttribute(true)]
public interface IGenerator : IExtension,
IDisposable
[CLSCompliantAttribute(true)]
public interface class IGenerator : IExtension,
IDisposable
[<CLSCompliantAttribute(true)>]
type IGenerator =
interface
interface IExtension
interface IDisposable
end
public interface IGenerator extends IExtension, IDisposable
The IGenerator type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GenerateNextValues | When it is implemented in a class, generates the next value according to the data generator algorithm. | |
GetOutputValue | When it is implemented in a class, retrieves an output value. | |
Initialize | When it is implemented in a class, initializes a data generator. | |
SetInputValues | Sets the input values for a data generator. | |
ValidateInputs | Validates that all the required inputs for a data generator have been set. |
Top
Remarks
If the standard data generators are insufficient, you can create custom data generators. To create a custom data generator, you must create a class that implements IGenerator or inherits from Generator. You identify the class as a data generator by decorating it with GeneratorAttribute.
You can create a custom designer for a custom data generator, or you can use DefaultGeneratorDesigner. For more information, see An Overview of Data Generator Extensibility.
See Also
Reference
Microsoft.Data.Schema.Tools.DataGenerator Namespace