Table of Contents

Struct SqlColumnIdentity

Namespace
LfrlAnvil.Sql.Objects.Builders
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL column identity definition.

public readonly record struct SqlColumnIdentity : IEquatable<SqlColumnIdentity>
Implements
Inherited Members

Constructors

SqlColumnIdentity(int?)

Creates a new SqlColumnIdentity instance.

public SqlColumnIdentity(int? autoIncrementCache = null)

Parameters

autoIncrementCache int?

Optional number of cached values.

Exceptions

ArgumentOutOfRangeException

When autoIncrementCache is not null and is less than 1.

Properties

AutoIncrementCache

Number of cached values.

public int? AutoIncrementCache { get; }

Property Value

int?

Default

Represents a default SQL column identity definition.

public static SqlColumnIdentity Default { get; }

Property Value

SqlColumnIdentity