Search Results for

    Show / Hide Table of Contents

    Class UserRangeDefinition

    A definition for a user-defined PostgreSQL range to be mapped.

    Inheritance
    object
    UserRangeDefinition
    Implements
    System.IEquatable<><UserRangeDefinition>
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public record UserRangeDefinition : IEquatable<UserRangeDefinition>

    Constructors

    | Improve this Doc View Source

    UserRangeDefinition(string, string?, Type, string?)

    This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    Declaration
    public UserRangeDefinition(string rangeName, string? schemaName, Type subtypeClrType, string? subtypeName)
    Parameters
    Type Name Description
    string rangeName
    string? schemaName
    Type subtypeClrType
    string? subtypeName

    Properties

    | Improve this Doc View Source

    RangeName

    The name of the PostgreSQL range type to be mapped.

    Declaration
    public virtual string RangeName { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    SchemaName

    The PostgreSQL schema in which the range is defined. If null, the default schema is used (which is public unless changed on the model).

    Declaration
    public virtual string? SchemaName { get; }
    Property Value
    Type Description
    string?
    | Improve this Doc View Source

    SubtypeClrType

    The CLR type of the range's subtype (or element). The actual mapped type will be an over this type.

    Declaration
    public virtual Type SubtypeClrType { get; }
    Property Value
    Type Description
    Type
    | Improve this Doc View Source

    SubtypeName

    Optionally, the name of the range's PostgreSQL subtype (or element). This is usually not needed - the subtype will be inferred based on SubtypeClrType.

    Declaration
    public virtual string? SubtypeName { get; }
    Property Value
    Type Description
    string?

    Implements

    System.IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team