Generator.OnSetInputValues Method
Sets the input properties of a data generator by using the provided list of named values.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Protected Overridable Sub OnSetInputValues ( _
inputs As IDictionary(Of String, Object) _
)
protected virtual void OnSetInputValues(
IDictionary<string, Object> inputs
)
protected:
virtual void OnSetInputValues(
IDictionary<String^, Object^>^ inputs
)
abstract OnSetInputValues :
inputs:IDictionary<string, Object> -> unit
override OnSetInputValues :
inputs:IDictionary<string, Object> -> unit
protected function OnSetInputValues(
inputs : IDictionary<String, Object>
)
Parameters
- inputs
Type: System.Collections.Generic.IDictionary<String, Object>
An IDictionary<TKey, TValue> of key and value pairs. By default, the key is the property name and the value is the value of the input that corresponds to the key.
Remarks
The default functionality of the SetInputValues method reads the key name, finds the corresponding property, and sets the value of the property.
The SetInputValues method calls this method. To modify the functionality of the SetInputValues method, you must override the OnSetInputValues.
.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.