Show / Hide Table of Contents

Class NpgsqlDbColumn

Provides schema information about a column.

Inheritance
System.Object
DbColumn
NpgsqlDbColumn
Inherited Members
DbColumn.IsAliased
DbColumn.IsExpression
DbColumn.IsHidden
DbColumn.IsIdentity
System.Object.ToString()
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.Schema
Assembly: Npgsql.dll
Syntax
public class NpgsqlDbColumn : DbColumn
Remarks

Note that this can correspond to a field returned in a query which isn't an actual table column

See https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.getschematable(v=vs.110).aspx for information on the meaning of the different fields.

Constructors

NpgsqlDbColumn()

Declaration
public NpgsqlDbColumn()

Properties

AllowDBNull

Declaration
public bool? AllowDBNull { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

BaseCatalogName

Declaration
public string BaseCatalogName { get; protected set; }
Property Value
Type Description
System.String

BaseColumnName

Declaration
public string BaseColumnName { get; protected set; }
Property Value
Type Description
System.String

BaseSchemaName

Declaration
public string BaseSchemaName { get; protected set; }
Property Value
Type Description
System.String

BaseServerName

Declaration
public string BaseServerName { get; protected set; }
Property Value
Type Description
System.String

BaseTableName

Declaration
public string BaseTableName { get; protected set; }
Property Value
Type Description
System.String

ColumnAttributeNumber

Declaration
public short? ColumnAttributeNumber { get; }
Property Value
Type Description
System.Nullable<System.Int16>

ColumnName

Declaration
public string ColumnName { get; protected set; }
Property Value
Type Description
System.String

ColumnOrdinal

Declaration
public int? ColumnOrdinal { get; protected set; }
Property Value
Type Description
System.Nullable<System.Int32>

ColumnSize

Declaration
public int? ColumnSize { get; protected set; }
Property Value
Type Description
System.Nullable<System.Int32>

DataType

Declaration
public Type DataType { get; protected set; }
Property Value
Type Description
System.Type

DataTypeName

Declaration
public string DataTypeName { get; protected set; }
Property Value
Type Description
System.String

DefaultValue

Declaration
public string DefaultValue { get; }
Property Value
Type Description
System.String

IsAutoIncrement

Declaration
public bool? IsAutoIncrement { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsKey

Declaration
public bool? IsKey { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsLong

Declaration
public bool? IsLong { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsReadOnly

Declaration
public bool? IsReadOnly { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsUnique

Declaration
public bool? IsUnique { get; protected set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Item[String]

Declaration
public override object this[string propertyName] { get; }
Parameters
Type Name Description
System.String propertyName
Property Value
Type Description
System.Object
Overrides
DbColumn.Item[String]

NpgsqlDbType

Declaration
public NpgsqlDbType? NpgsqlDbType { get; }
Property Value
Type Description
System.Nullable<NpgsqlDbType>

NumericPrecision

Declaration
public int? NumericPrecision { get; protected set; }
Property Value
Type Description
System.Nullable<System.Int32>

NumericScale

Declaration
public int? NumericScale { get; protected set; }
Property Value
Type Description
System.Nullable<System.Int32>

PostgresType

Declaration
public PostgresType PostgresType { get; }
Property Value
Type Description
PostgresType

TableOID

Declaration
public uint TableOID { get; }
Property Value
Type Description
System.UInt32

TypeOID

Declaration
public uint TypeOID { get; }
Property Value
Type Description
System.UInt32

UdtAssemblyQualifiedName

Declaration
public string UdtAssemblyQualifiedName { get; protected set; }
Property Value
Type Description
System.String
Back to top Generated by DocFX