Table of Contents

Class CompatibilitySchema.IndexKey

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.sysindexkeys (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

Contains information about the keys or columns in an index of the database.

important


This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.


See sys.sysindexkeys.

[Table(Schema = "sys", Name = "sysindexkeys", IsView = true)]
public class CompatibilitySchema.IndexKey
Inheritance
CompatibilitySchema.IndexKey
Extension Methods

Properties

ColumnID

ID of the column.

[Column("colid")]
[Nullable]
public short? ColumnID { get; set; }

Property Value

short?

ID

ID of the table.

[Column("id")]
[NotNull]
public int ID { get; set; }

Property Value

int

IndexID

ID of the index.

[Column("indid")]
[Nullable]
public short? IndexID { get; set; }

Property Value

short?

KeyNo

Position of the column in the index.

[Column("keyno")]
[Nullable]
public short? KeyNo { get; set; }

Property Value

short?