Table of Contents

Class NpgsqlSequenceHiLoValueGenerator<TValue>

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class NpgsqlSequenceHiLoValueGenerator<TValue> : HiLoValueGenerator<TValue>

Type Parameters

TValue
Inheritance
NpgsqlSequenceHiLoValueGenerator<TValue>
Inherited Members

Constructors

NpgsqlSequenceHiLoValueGenerator(IRawSqlCommandBuilder, IUpdateSqlGenerator, NpgsqlSequenceValueGeneratorState, INpgsqlRelationalConnection, IRelationalCommandDiagnosticsLogger)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public NpgsqlSequenceHiLoValueGenerator(IRawSqlCommandBuilder rawSqlCommandBuilder, IUpdateSqlGenerator sqlGenerator, NpgsqlSequenceValueGeneratorState generatorState, INpgsqlRelationalConnection connection, IRelationalCommandDiagnosticsLogger commandLogger)

Parameters

rawSqlCommandBuilder IRawSqlCommandBuilder
sqlGenerator IUpdateSqlGenerator
generatorState NpgsqlSequenceValueGeneratorState
connection INpgsqlRelationalConnection
commandLogger IRelationalCommandDiagnosticsLogger

Properties

GeneratesTemporaryValues

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override bool GeneratesTemporaryValues { get; }

Property Value

bool

Methods

GetNewLowValue()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override long GetNewLowValue()

Returns

long

GetNewLowValueAsync(CancellationToken)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override Task<long> GetNewLowValueAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<long>