TableStore.OverrideGeneratorInstance Method

Allows the store to supersede a particular generator for a column, regardless of what's currently in the data generator plan. This is useful for the preview store, which creates generators for server-side computed columns.

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

Syntax

'Declaration
Public Overridable Function OverrideGeneratorInstance ( _
    parentTable As ITable, _
    targetColumn As IColumn _
) As IGenerator
'Usage
Dim instance As TableStore
Dim parentTable As ITable
Dim targetColumn As IColumn
Dim returnValue As IGenerator

returnValue = instance.OverrideGeneratorInstance(parentTable, _
    targetColumn)
public virtual IGenerator OverrideGeneratorInstance(
    ITable parentTable,
    IColumn targetColumn
)
public:
virtual IGenerator^ OverrideGeneratorInstance(
    ITable^ parentTable, 
    IColumn^ targetColumn
)
public function OverrideGeneratorInstance(
    parentTable : ITable, 
    targetColumn : IColumn
) : IGenerator
abstract OverrideGeneratorInstance : 
        parentTable:ITable * 
        targetColumn:IColumn -> IGenerator 
override OverrideGeneratorInstance : 
        parentTable:ITable * 
        targetColumn:IColumn -> IGenerator 

Parameters

Return Value

Type: Microsoft.Data.Schema.DataGenerator.IGenerator
Returns a valid generator instance (with all inputs set) if the specified column's generator should be replaced. If the generator is to remain the same, this method should return a NULL.

.NET Framework Security

See Also

Reference

TableStore Class

TableStore Members

Microsoft.Data.Schema.DataGenerator Namespace