Show / Hide Table of Contents

Interface IColumn

Provides an interface for a database column schema.

Namespace: Paradigm.ORM.Data.Database.Schema.Structure
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface IColumn

Properties

| Improve this Doc View Source

CatalogName

Gets the name of the catalog where the parent table resides.

Declaration
string CatalogName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DataType

Gets the data type of the column.

Declaration
string DataType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultValue

Gets the default value of the column, or null if the column does not have a default value.

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

The default value is retrieved in string format, so you must cast to the proper type before using it.

| Improve this Doc View Source

IsIdentity

Indicates if the column is an identity column, and auto-increments its value.

Declaration
bool IsIdentity { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsNullable

Indicates if the column value accepts null values.

Declaration
bool IsNullable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MaxSize

Gets the maximum size of the field, or zero if the column doesn't have a variable size.

Declaration
long MaxSize { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

Name

Gets the name of the column.

Declaration
string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Precision

Gets the numeric precision of the column, or zero if the column data type is not numeric.

Declaration
byte Precision { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Scale

Gets the numeric scale of the column, or zero if the column data type is not numeric or is not a decimal numeric type.

Declaration
byte Scale { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

SchemaName

Gets the name of the schema where the parent table resides.

Declaration
string SchemaName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TableName

Gets the name of the parent table or view.

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

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.