Struct TypeInfoMapping
- Namespace
- Npgsql.Internal
- Assembly
- Npgsql.dll
public readonly struct TypeInfoMapping
- Inherited Members
-
- Extension Methods
-
Constructors
TypeInfoMapping(Type, string, TypeInfoFactory)
public TypeInfoMapping(Type type, string dataTypeName, TypeInfoFactory factory)
Parameters
type
Type
dataTypeName
string
factory
TypeInfoFactory
Properties
DataTypeName
public string DataTypeName { get; init; }
Property Value
- string
Factory
public TypeInfoFactory Factory { get; init; }
Property Value
- TypeInfoFactory
MatchRequirement
public MatchRequirement MatchRequirement { get; init; }
Property Value
- MatchRequirement
Type
public Type Type { get; init; }
Property Value
- Type
TypeMatchPredicate
public Func<Type?, bool>? TypeMatchPredicate { get; init; }
Property Value
- Func<Type, bool>
Methods
DataTypeNameEquals(string)
public bool DataTypeNameEquals(string dataTypeName)
Parameters
dataTypeName
string
Returns
- bool
TypeEquals(Type)
public bool TypeEquals(Type type)
Parameters
type
Type
Returns
- bool