ConstantColumn

Defines a constant column

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.Query.Column

Constructors

ConstantColumn

Default constructor

Signature:
public Void ConstantColumn()

ConstantColumn

Creates a new instance of ConstantColumn and initializes it.

Signature:
public Void ConstantColumn(name, type, constant)
Parameters
Name Type Summary
name String The name of the column.
type DbType The type of the column.
constant Object A constant value for the column.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown when name is null or empty.

Properties

Constant

A constant value.

Signature:
public Object Constant { get; set; }

Type

DbType of the constant value.

Signature:
public DbType Type { get; set; }