Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- column
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseColumn
An IDatabaseColumn object.
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
- 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.
See Also
Reference
IDataTransformPlanServices Interface