Share via


IDataTransformPlanServices.ReplaceForeignKeyColumnGenerator Method

This method is typically used in cases where a sequential databound generator cannot be used, such as an identity column (or any other column whose value does not transfer between two databases).

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

Syntax

'Declaration
Function ReplaceForeignKeyColumnGenerator ( _
    column As IDatabaseColumn _
) As Boolean
bool ReplaceForeignKeyColumnGenerator(
    IDatabaseColumn column
)
bool ReplaceForeignKeyColumnGenerator(
    IDatabaseColumn^ column
)
abstract ReplaceForeignKeyColumnGenerator : 
        column:IDatabaseColumn -> bool 
function ReplaceForeignKeyColumnGenerator(
    column : IDatabaseColumn
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the foreign key column generator must be replaced; otherwise, false.

Remarks

If this method returns false, the foreign key generator remains assigned to the column, instead of being replaced by the SequentialDataboundGenerator.

.NET Framework Security

See Also

Reference

IDataTransformPlanServices Interface

Microsoft.Data.Schema.Tools.DataGenerator Namespace

IDatabaseColumn