Search Results for

    Show / Hide Table of Contents

    Class NpgsqlSequenceHiLoValueGenerator<TValue>

    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.

    Inheritance
    object
    NpgsqlSequenceHiLoValueGenerator<TValue>
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlSequenceHiLoValueGenerator<TValue> : HiLoValueGenerator<TValue>
    Type Parameters
    Name Description
    TValue

    Constructors

    | Improve this Doc View Source

    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.

    Declaration
    public NpgsqlSequenceHiLoValueGenerator(IRawSqlCommandBuilder rawSqlCommandBuilder, IUpdateSqlGenerator sqlGenerator, NpgsqlSequenceValueGeneratorState generatorState, INpgsqlRelationalConnection connection, IRelationalCommandDiagnosticsLogger commandLogger)
    Parameters
    Type Name Description
    IRawSqlCommandBuilder rawSqlCommandBuilder
    IUpdateSqlGenerator sqlGenerator
    NpgsqlSequenceValueGeneratorState generatorState
    INpgsqlRelationalConnection connection
    IRelationalCommandDiagnosticsLogger commandLogger

    Properties

    | Improve this Doc View Source

    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.

    Declaration
    public override bool GeneratesTemporaryValues { get; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    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.

    Declaration
    protected override long GetNewLowValue()
    Returns
    Type Description
    long
    | Improve this Doc View Source

    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.

    Declaration
    protected override Task<long> GetNewLowValueAsync(CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<><long>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team