Search Results for

    Show / Hide Table of Contents

    Class NpgsqlDbColumn

    Provides schema information about a column.

    Inheritance
    Object
    DbColumn
    NpgsqlDbColumn
    Inherited Members
    DbColumn.IsAliased
    DbColumn.IsExpression
    DbColumn.IsHidden
    DbColumn.IsIdentity
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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

    | Improve this Doc

    NpgsqlDbColumn()

    Declaration
    public NpgsqlDbColumn()

    Properties

    | Improve this Doc

    AllowDBNull

    Declaration
    public bool? AllowDBNull { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    BaseCatalogName

    Declaration
    public string BaseCatalogName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    BaseColumnName

    Declaration
    public string BaseColumnName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    BaseSchemaName

    Declaration
    public string BaseSchemaName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    BaseServerName

    Declaration
    public string BaseServerName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    BaseTableName

    Declaration
    public string BaseTableName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    ColumnAttributeNumber

    Declaration
    public short? ColumnAttributeNumber { get; }
    Property Value
    Type Description
    Nullable<Int16>
    | Improve this Doc

    ColumnName

    Declaration
    public string ColumnName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    ColumnOrdinal

    Declaration
    public int? ColumnOrdinal { get; protected set; }
    Property Value
    Type Description
    Nullable<Int32>
    | Improve this Doc

    ColumnSize

    Declaration
    public int? ColumnSize { get; protected set; }
    Property Value
    Type Description
    Nullable<Int32>
    | Improve this Doc

    DataType

    Declaration
    public Type DataType { get; protected set; }
    Property Value
    Type Description
    Type
    | Improve this Doc

    DataTypeName

    Declaration
    public string DataTypeName { get; protected set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    DefaultValue

    Declaration
    public string DefaultValue { get; }
    Property Value
    Type Description
    String
    | Improve this Doc

    IsAutoIncrement

    Declaration
    public bool? IsAutoIncrement { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    IsKey

    Declaration
    public bool? IsKey { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    IsLong

    Declaration
    public bool? IsLong { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    IsReadOnly

    Declaration
    public bool? IsReadOnly { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    IsUnique

    Declaration
    public bool? IsUnique { get; protected set; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc

    Item[String]

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

    NpgsqlDbType

    Declaration
    public NpgsqlDbType? NpgsqlDbType { get; }
    Property Value
    Type Description
    Nullable<NpgsqlDbType>
    | Improve this Doc

    NumericPrecision

    Declaration
    public int? NumericPrecision { get; protected set; }
    Property Value
    Type Description
    Nullable<Int32>
    | Improve this Doc

    NumericScale

    Declaration
    public int? NumericScale { get; protected set; }
    Property Value
    Type Description
    Nullable<Int32>
    | Improve this Doc

    PostgresType

    Declaration
    public PostgresType PostgresType { get; }
    Property Value
    Type Description
    PostgresType
    | Improve this Doc

    TableOID

    Declaration
    public uint TableOID { get; }
    Property Value
    Type Description
    UInt32
    | Improve this Doc

    TypeOID

    Declaration
    public uint TypeOID { get; }
    Property Value
    Type Description
    UInt32
    | Improve this Doc

    UdtAssemblyQualifiedName

    Declaration
    public string UdtAssemblyQualifiedName { get; protected set; }
    Property Value
    Type Description
    String
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team