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
Inheritance
System.Object
FieldDescription
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.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 |
---|---|
System.Int16 |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()