Class NpgsqlSequenceHiLoValueGenerator<TValue>
- 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
-
ValueGenerator<TValue>HiLoValueGenerator<TValue>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
IRawSqlCommandBuildersqlGenerator
IUpdateSqlGeneratorgeneratorState
NpgsqlSequenceValueGeneratorStateconnection
INpgsqlRelationalConnectioncommandLogger
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
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
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