DataGenerationServices.GetGeneratorInput Method
Returns a value for the provided column that is based on the provided AutoAssignedInput member.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Function GetGeneratorInput ( _
column As IDatabaseColumn, _
selectedInput As AutoAssignedInput _
) As Object
public virtual Object GetGeneratorInput(
IDatabaseColumn column,
AutoAssignedInput selectedInput
)
public:
virtual Object^ GetGeneratorInput(
IDatabaseColumn^ column,
AutoAssignedInput selectedInput
)
abstract GetGeneratorInput :
column:IDatabaseColumn *
selectedInput:AutoAssignedInput -> Object
override GetGeneratorInput :
column:IDatabaseColumn *
selectedInput:AutoAssignedInput -> Object
public function GetGeneratorInput(
column : IDatabaseColumn,
selectedInput : AutoAssignedInput
) : Object
Parameters
- column
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseColumn
An IDatabaseColumn object.
- selectedInput
Type: Microsoft.Data.Schema.Tools.DataGenerator.AutoAssignedInput
A member of the AutoAssignedInput enumeration.
Return Value
Type: System.Object
The desired column value.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The provided column is nulla null reference (Nothing in Visual Basic). |
Remarks
Provide this information through this method so that your database schema model can be represented in Visual Studio projects, where users can create and manipulate database objects that you have defined in your model.
.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.