Share via


Generator.OnNextValues Method

Generates the next set of values for a data row.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Protected Overridable Sub OnNextValues
protected virtual void OnNextValues()
protected:
virtual void OnNextValues()
abstract OnNextValues : unit -> unit 
override OnNextValues : unit -> unit 
protected function OnNextValues()

Remarks

OnGenerateNextValues and OnNextValues are similar, but OnNextValues is always called (even if the value produced is null) and OnGenerateNextValues is called only if the generator expects an actual value (not a null). Most implementors need only implement OnGenerateNextValues. OnNextValues is useful for shared instancing, when the generator must keep track of which column is currently generated.

The GenerateNextValues method calls this method. To modify the functionality of the GenerateNextValues method, you must override the OnNextValues method.

.NET Framework Security

See Also

Reference

Generator Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

GenerateNextValues