Class NpgsqlDbColumn
Provides schema information about a column.
public class NpgsqlDbColumn : DbColumn
- Inheritance
-
NpgsqlDbColumn
- Inherited Members
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()
public NpgsqlDbColumn()
Properties
AllowDBNull
public bool? AllowDBNull { get; protected set; }
Property Value
- bool?
BaseCatalogName
public string BaseCatalogName { get; protected set; }
Property Value
BaseColumnName
public string BaseColumnName { get; protected set; }
Property Value
BaseSchemaName
public string BaseSchemaName { get; protected set; }
Property Value
BaseServerName
public string BaseServerName { get; protected set; }
Property Value
BaseTableName
public string BaseTableName { get; protected set; }
Property Value
ColumnAttributeNumber
public short? ColumnAttributeNumber { get; }
Property Value
ColumnName
public string ColumnName { get; protected set; }
Property Value
ColumnOrdinal
public int? ColumnOrdinal { get; protected set; }
Property Value
- int?
ColumnSize
public int? ColumnSize { get; protected set; }
Property Value
- int?
DataType
public Type DataType { get; protected set; }
Property Value
DataTypeName
public string DataTypeName { get; protected set; }
Property Value
DefaultValue
public string DefaultValue { get; }
Property Value
IsAutoIncrement
public bool? IsAutoIncrement { get; protected set; }
Property Value
- bool?
IsKey
public bool? IsKey { get; protected set; }
Property Value
- bool?
IsLong
public bool? IsLong { get; protected set; }
Property Value
- bool?
IsReadOnly
public bool? IsReadOnly { get; protected set; }
Property Value
- bool?
IsUnique
public bool? IsUnique { get; protected set; }
Property Value
- bool?
this[string]
public override object this[string propertyName] { get; }
Parameters
propertyName
string
Property Value
NpgsqlDbType
public NpgsqlDbType? NpgsqlDbType { get; }
Property Value
NumericPrecision
public int? NumericPrecision { get; protected set; }
Property Value
- int?
NumericScale
public int? NumericScale { get; protected set; }
Property Value
- int?
PostgresType
public PostgresType PostgresType { get; }
Property Value
TableOID
public uint TableOID { get; }
Property Value
TypeOID
public uint TypeOID { get; }
Property Value
UdtAssemblyQualifiedName
public string UdtAssemblyQualifiedName { get; protected set; }