Class PgSerializerOptions
Inheritance
object
PgSerializerOptions
Assembly: Npgsql.dll
Syntax
public sealed class PgSerializerOptions
Properties
|
Improve this Doc
View Source
ArrayNullabilityMode
Declaration
public ArrayNullabilityMode ArrayNullabilityMode { get; init; }
Property Value
|
Improve this Doc
View Source
DefaultNameTranslator
Declaration
public INpgsqlNameTranslator DefaultNameTranslator { get; init; }
Property Value
|
Improve this Doc
View Source
EnableDateTimeInfinityConversions
Declaration
public bool EnableDateTimeInfinityConversions { get; init; }
Property Value
|
Improve this Doc
View Source
TextEncoding
Declaration
public Encoding TextEncoding { get; init; }
Property Value
Type |
Description |
Encoding |
|
|
Improve this Doc
View Source
TimeZone
Declaration
public string TimeZone { get; }
Property Value
|
Improve this Doc
View Source
TypeInfoResolver
Declaration
public required IPgTypeInfoResolver TypeInfoResolver { get; init; }
Property Value
|
Improve this Doc
View Source
UnknownPgType
Declaration
public PostgresType UnknownPgType { get; }
Property Value
|
Improve this Doc
View Source
WellKnownTextTypes
Declaration
public static Type[] WellKnownTextTypes { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetArrayElementTypeId(PgTypeId)
Declaration
public PgTypeId GetArrayElementTypeId(PgTypeId arrayTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
arrayTypeId |
|
Returns
|
Improve this Doc
View Source
GetArrayTypeId(PgTypeId)
Declaration
public PgTypeId GetArrayTypeId(PgTypeId elementTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
elementTypeId |
|
Returns
|
Improve this Doc
View Source
GetDataTypeName(PgTypeId)
Declaration
public DataTypeName GetDataTypeName(PgTypeId pgTypeId)
Parameters
Returns
|
Improve this Doc
View Source
GetDefaultTypeInfo(PgTypeId)
Declaration
public PgTypeInfo? GetDefaultTypeInfo(PgTypeId pgTypeId)
Parameters
Returns
|
Improve this Doc
View Source
GetDefaultTypeInfo(PostgresType)
Declaration
public PgTypeInfo? GetDefaultTypeInfo(PostgresType pgType)
Parameters
Returns
|
Improve this Doc
View Source
GetMultirangeElementTypeId(PgTypeId)
Declaration
public PgTypeId GetMultirangeElementTypeId(PgTypeId multirangeTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
multirangeTypeId |
|
Returns
|
Improve this Doc
View Source
GetMultirangeTypeId(PgTypeId)
Declaration
public PgTypeId GetMultirangeTypeId(PgTypeId rangeTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
rangeTypeId |
|
Returns
|
Improve this Doc
View Source
GetObjectOrDefaultTypeInfo(PgTypeId)
Declaration
public PgTypeInfo? GetObjectOrDefaultTypeInfo(PgTypeId pgTypeId)
Parameters
Returns
|
Improve this Doc
View Source
GetObjectOrDefaultTypeInfo(PostgresType)
Declaration
public PgTypeInfo? GetObjectOrDefaultTypeInfo(PostgresType pgType)
Parameters
Returns
|
Improve this Doc
View Source
GetRangeSubtypeTypeId(PgTypeId)
Declaration
public PgTypeId GetRangeSubtypeTypeId(PgTypeId rangeTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
rangeTypeId |
|
Returns
|
Improve this Doc
View Source
GetRangeTypeId(PgTypeId)
Declaration
public PgTypeId GetRangeTypeId(PgTypeId subtypeTypeId)
Parameters
Type |
Name |
Description |
PgTypeId |
subtypeTypeId |
|
Returns
|
Improve this Doc
View Source
GetTypeInfo(Type, PostgresType)
Declaration
public PgTypeInfo? GetTypeInfo(Type type, PostgresType pgType)
Parameters
Returns
|
Improve this Doc
View Source
GetTypeInfo(Type, PgTypeId?)
Declaration
public PgTypeInfo? GetTypeInfo(Type type, PgTypeId? pgTypeId = null)
Parameters
Type |
Name |
Description |
Type |
type |
|
PgTypeId? |
pgTypeId |
|
Returns
|
Improve this Doc
View Source
TryGetDataTypeName(PgTypeId, out DataTypeName)
Declaration
public bool TryGetDataTypeName(PgTypeId pgTypeId, out DataTypeName dataTypeName)
Parameters
Returns