Search Results for

    Show / Hide Table of Contents

    Class NpgsqlValueGenerationStrategyExtensions

    Extension methods over NpgsqlValueGenerationStrategy.

    Inheritance
    object
    NpgsqlValueGenerationStrategyExtensions
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Metadata
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public static class NpgsqlValueGenerationStrategyExtensions

    Methods

    | Improve this Doc View Source

    IsIdentity(NpgsqlValueGenerationStrategy)

    Whether the given strategy is either IdentityByDefaultColumn or IdentityAlwaysColumn.

    Declaration
    public static bool IsIdentity(this NpgsqlValueGenerationStrategy strategy)
    Parameters
    Type Name Description
    NpgsqlValueGenerationStrategy strategy
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    IsIdentity(NpgsqlValueGenerationStrategy?)

    Whether the given strategy is either IdentityByDefaultColumn or IdentityAlwaysColumn.

    Declaration
    public static bool IsIdentity(this NpgsqlValueGenerationStrategy? strategy)
    Parameters
    Type Name Description
    NpgsqlValueGenerationStrategy? strategy
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team