MetaForeignKeyColumn.IsPrimaryKeyInThisTable Property

Definition

Gets a value that indicates whether the foreign-key field is part of the primary key of the table.

public:
 property bool IsPrimaryKeyInThisTable { bool get(); };
public bool IsPrimaryKeyInThisTable { get; }
member this.IsPrimaryKeyInThisTable : bool
Public ReadOnly Property IsPrimaryKeyInThisTable As Boolean

Property Value

true if the foreign-key field is part of the primary key of the table; otherwise, false.

Remarks

Use the IsPrimaryKeyInThisTable property to determine whether the foreign-key field is part of the primary key of the table. This is the table that contains the foreign-key field not the parent table.

Applies to

See also