Class FieldDescription
A descriptive record on a single field received from PostgreSQL. See RowDescription in http://www.postgresql.org/docs/current/static/protocol-message-formats.html
Inherited Members
Namespace: Npgsql.BackendMessages
Assembly: Npgsql.dll
Syntax
public sealed class FieldDescription
Constructors
FieldDescription()
Creates a new instance.
Declaration
public FieldDescription()
Remarks
Exists for backwards compat with 4.0, has been removed for 5.0.
Properties
TypeModifier
The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.
Declaration
public int TypeModifier { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
TypeSize
The data type size (see pg_type.typlen). Note that negative values denote variable-width types.
Declaration
public short TypeSize { get; set; }
Property Value
Type | Description |
---|---|
Int16 |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |