Table of Contents

Class MySqlPrimaryKey

Namespace
LfrlAnvil.MySql.Objects
Assembly
LfrlAnvil.MySql.dll

Represents an SQL primary key constraint.

public sealed class MySqlPrimaryKey : SqlPrimaryKey, ISqlPrimaryKey, ISqlConstraint, ISqlObject
Inheritance
MySqlPrimaryKey
Implements
Inherited Members

Remarks

MySqlDialect implementation.

Properties

Database

Database that this object belongs to.

public MySqlDatabase Database { get; }

Property Value

MySqlDatabase

Index

Underlying index that defines this primary key.

public MySqlIndex Index { get; }

Property Value

MySqlIndex

Table

Table that this constraint is attached to.

public MySqlTable Table { get; }

Property Value

MySqlTable