Column

Models a table column definition.

Namespace:
KpokEntityTool.Models
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
System.IEquatable{KpokEntityTool.Models.Column}, System.ComponentModel.INotifyPropertyChanged

Constructors

Column

Default constructor

Signature:
public Void Column()

Events

Type Name Summary
PropertyChangedEventHandler PropertyChanged Notify that a property was changed.

Properties

Caption

Column caption.

Signature:
public String Caption { get; set; }

CharacterLength

Length of a character column.

Signature:
public String CharacterLength { get; set; }

CheckConstraintExpression

Expression of the check constraint.

Signature:
public String CheckConstraintExpression { get; set; }

CheckConstraintName

Name of the check constraint.

Signature:
public String CheckConstraintName { get; set; }

DataType

Column data type.

Signature:
public DataType DataType { get; set; }

DefaultConstraintExpression

Expression of the default constraint.

Signature:
public String DefaultConstraintExpression { get; set; }

DefaultConstraintName

Name of the default constraint.

Signature:
public String DefaultConstraintName { get; set; }

Description

Column description.

Signature:
public String Description { get; set; }

IsAutonumeric

Whether the column is the autonumeric column.

Signature:
public Boolean IsAutonumeric { get; set; }

IsNullable

Whether the column is nullable.

Signature:
public Boolean IsNullable { get; set; }

Name

Column name.

Signature:
public String Name { get; set; }

Position

Column position.

Signature:
public Int32 Position { get; set; }

Precision

Precision of a decimal column.

Signature:
public String Precision { get; set; }

Scale

Scale of a decimal column.

Signature:
public String Scale { get; set; }

Methods

Equals

Crecks whether other is equals to this object.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equals.

Parameters
Name Type Summary
other Column Object to compare.

Equals

Checks whether obj is equals to this object.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equals.

Parameters
Name Type Summary
obj Object Object to compare.

GetHashCode

Not required, implemented to avois warnings.

Signature:
public Int32 GetHashCode()

ToString

Returns a textual representation of this column.

Signature:
public String ToString()