CoalesceColumn

Defines a column that is decorated with a coalesce function

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

Constructors

CoalesceColumn

Default constructor

Signature:
public Void CoalesceColumn()

CoalesceColumn

Initializes a new instance of CoalesceColumn.

Signature:
public Void CoalesceColumn(field, expression)
Parameters
Name Type Summary
field Field Field configuration.
expression Object[] A collection of expressions.
Exceptions
Type Summary
ArgumentNullException Thrown when field is null.

CoalesceColumn

Initializes a new instance of CoalesceColumn.

Signature:
public Void CoalesceColumn(field, repository, expression)
Parameters
Name Type Summary
field Field Field configuration.
repository Repository Repository to which the column belongs.
expression Object[] A collection of expressions.
Exceptions
Type Summary
ArgumentNullException Thrown when field is null.

CoalesceColumn

Initializes a new instance of CoalesceColumn.

Signature:
public Void CoalesceColumn(fieldName, type, expression)
Parameters
Name Type Summary
fieldName String The name of the underlaying field.
type DbType Column data type.
expression Object[] Expressions to be added to the expression collection.

CoalesceColumn

Initializes a new instance of CoalesceColumn.

Signature:
public Void CoalesceColumn(name, fieldName, type, repository, expression)
Parameters
Name Type Summary
name String The name of the column.
fieldName String The name of the underlaying field.
type DbType Column data type.
repository Repository Data repository to where the column belongs.
expression Object[] Expressions to be added to the expression collection.

Properties

Expressions

Coalesce expression collection.

Signature:
public List<Object> Expressions { get; }

Type

Column data type.

Signature:
public DbType Type { get; set; }