Generator.OnSetInputValues Method
Sets the input values for a data generator.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Sub OnSetInputValues ( _
inputs As IDictionary(Of String, Object) _
)
'Usage
Dim inputs As IDictionary(Of String, Object)
Me.OnSetInputValues(inputs)
protected virtual void OnSetInputValues(
IDictionary<string, Object> inputs
)
protected:
virtual void OnSetInputValues(
IDictionary<String^, Object^>^ inputs
)
protected function OnSetInputValues(
inputs : IDictionary<String, Object>
)
abstract OnSetInputValues :
inputs:IDictionary<string, Object> -> unit
override OnSetInputValues :
inputs:IDictionary<string, Object> -> unit
Parameters
- inputs
Type: System.Collections.Generic.IDictionary<String, Object>
A IDictionary of key and value pairs. By default, the key is the property name. The value is the value of the input that corresponds to the key.
Remarks
The default functionality of SetInputValues reads the key name, finds the corresponding property, and sets the value of the property.
The SetInputValues method calls this method. You should override OnSetInputValues if you want to override the SetInputValues functionality.
.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.