Search Results for

    Show / Hide Table of Contents

    Struct TypeInfoMapping

    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public readonly struct TypeInfoMapping

    Constructors

    | Improve this Doc View Source

    TypeInfoMapping(Type, string, TypeInfoFactory)

    Declaration
    public TypeInfoMapping(Type type, string dataTypeName, TypeInfoFactory factory)
    Parameters
    Type Name Description
    Type type
    string dataTypeName
    TypeInfoFactory factory

    Properties

    | Improve this Doc View Source

    DataTypeName

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

    Factory

    Declaration
    public TypeInfoFactory Factory { get; init; }
    Property Value
    Type Description
    TypeInfoFactory
    | Improve this Doc View Source

    MatchRequirement

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

    Type

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

    TypeMatchPredicate

    Declaration
    public Func<Type?, bool>? TypeMatchPredicate { get; init; }
    Property Value
    Type Description
    Func<, ><Type?, bool>?

    Methods

    | Improve this Doc View Source

    DataTypeNameEquals(string)

    Declaration
    public bool DataTypeNameEquals(string dataTypeName)
    Parameters
    Type Name Description
    string dataTypeName
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    TypeEquals(Type)

    Declaration
    public bool TypeEquals(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool

    Extension Methods

    TypeInfoMappingHelpers.CreateInfo(TypeInfoMapping, PgSerializerOptions, PgConverter, DataFormat?, bool)
    TypeInfoMappingHelpers.CreateInfo(TypeInfoMapping, PgSerializerOptions, PgConverterResolver, bool, DataFormat?, bool)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team