Search Results for

    Show / Hide Table of Contents

    Class NpgsqlValueGeneratorCache

    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
    NpgsqlValueGeneratorCache
    Implements
    INpgsqlValueGeneratorCache
    IValueGeneratorCache
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlValueGeneratorCache : ValueGeneratorCache, INpgsqlValueGeneratorCache, IValueGeneratorCache

    Constructors

    | Improve this Doc View Source

    NpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies)

    Initializes a new instance of the class.

    Declaration
    public NpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies dependencies)
    Parameters
    Type Name Description
    ValueGeneratorCacheDependencies dependencies

    Parameter object containing dependencies for this service.

    Methods

    | Improve this Doc View Source

    GetOrAddSequenceState(IProperty, IRelationalConnection)

    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 virtual NpgsqlSequenceValueGeneratorState GetOrAddSequenceState(IProperty property, IRelationalConnection connection)
    Parameters
    Type Name Description
    IProperty property
    IRelationalConnection connection
    Returns
    Type Description
    NpgsqlSequenceValueGeneratorState

    Implements

    INpgsqlValueGeneratorCache
    IValueGeneratorCache
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team