ForeignKeyColumn Constructor

Initializes a new instance of the ForeignKeyColumn class.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
ForeignKeyColumn ()
Initializes a new instance of the ForeignKeyColumn class.
ForeignKeyColumn (ForeignKey, String)
Initializes a new instance of the ForeignKeyColumn class based on the specified foreign key with the specified name.
ForeignKeyColumn (ForeignKey, String, String)
Initializes a new instance of the ForeignKeyColumn class based on the specified foreign key with the specified name, which references the specified column.

请参阅

参考

ForeignKeyColumn Class
ForeignKeyColumn Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Creating, Altering, and Removing Foreign Keys
创建和修改 FOREIGN KEY 约束
CREATE TABLE (Transact-SQL)