Knight Data Access Layer
AddForeignKeyConstraints Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : AddForeignKeyConstraints Method
The SQL builder.
The table.
Adds the foreign key constraints.
Syntax
Protected Overridable Sub AddForeignKeyConstraints( _
   ByVal sqlBuilder As StringBuilder, _
   ByVal table As Table _
) 
Dim instance As BaseDatabaseProvider
Dim sqlBuilder As StringBuilder
Dim table As Table
 
instance.AddForeignKeyConstraints(sqlBuilder, table)
protected virtual void AddForeignKeyConstraints( 
   StringBuilder sqlBuilder,
   Table table
)
protected: virtual void AddForeignKeyConstraints( 
   StringBuilder* sqlBuilder,
   Table* table
) 
protected:
virtual void AddForeignKeyConstraints( 
   StringBuilder^ sqlBuilder,
   Table^ table
) 

Parameters

sqlBuilder
The SQL builder.
table
The table.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members