MetaForeignKeyColumn.IsPrimaryKeyInThisTable Property

 

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

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public bool IsPrimaryKeyInThisTable { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.5
Return to top
Show: