Column Class

Represents a column within a database.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Management.DatabaseManager.Column

Namespace:  Microsoft.Web.Management.DatabaseManager
Assembly:  Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)

Syntax

'Declaration
Public Class Column
'Usage
Dim instance As Column
public class Column
public ref class Column
public class Column

The Column type exposes the following members.

Constructors

  Name Description
Public method Column Creates a new instance of the Column class.

Top

Properties

  Name Description
Public property AllowNulls Gets or sets a value that indicates whether the database column allows nulla null reference (Nothing in Visual Basic) values.
Public property Changes Gets or sets the flags that indicate which changes are pending for the database column.
Public property DefaultValue Gets or sets the default value for the database column.
Public property InPrimaryKey Gets or sets a value that indicates whether the database column is in the primary key.
Public property IsIdentity Gets or sets a value that indicates whether the database column is an identity column.
Public property IsMarkedForDelete Gets or sets a value that indicates whether the database column is marked for deletion.
Public property IsNew Gets or sets a value that indicates whether the database column is new.
Public property Length Gets or sets a value that specifies the length of the database column.
Public property Name Gets or sets a value that specifies the name of the database column.
Public property OriginalName Gets or sets a value that specifies the original name of the database column.
Public property Precision Gets or sets a value that specifies the numeric precision of the database column.
Public property Scale Gets or sets a value that specifies the numeric scale of the database column.
Public property Tag Returns a generic object that is stored in the Column class.
Public property TypeInfo Retrieves the type information for a column.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasChanges Retrieves whether the column has specific changes.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetColumnIsInPrimaryKey Specifies the database column as part of the primary key.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Management.DatabaseManager Namespace