Statement

Statement is an abstract base class for all statement classes.

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes
Inherits from:
System.Object
Implements:
Inetdev.Data.Query.IColumn

Constructors

Statement

Default constructor

Signature:
public Void Statement()

Statement

Initializes a new instance of Statement.

Signature:
public Void Statement(repository)
Parameters
Name Type Summary
repository Repository StatementRepository.

Statement

Initializes a new instance of Statement.

Signature:
public Void Statement(repository, useAlias)
Parameters
Name Type Summary
repository Repository StatementRepository.
useAlias Boolean Indicates whether the alias must be included on the constructed commands.

Statement

Initializes a new instance of Statement.

Signature:
public Void Statement(name, repository)
Parameters
Name Type Summary
name String Name of the Statement.
repository Repository StatementRepository.

Statement

Initializes a new instance of Statement.

Signature:
public Void Statement(name, repository, useAlias)
Parameters
Name Type Summary
name String Name of the Statement.
repository Repository StatementRepository.
useAlias Boolean Indicates whether the alias must be included on the constructed commands.

Properties

Name

Name of the Statement.

Signature:
public String Name { get; set; }

Repository

StatementRepository.

Signature:
public Repository Repository { get; set; }

UseAlias

Indicates whether the alias must be included on the constructed commands.

Signature:
public Boolean UseAlias { get; set; }

WhereConditions

List of SearchConditions that conforms the WHERE clause of the Statement.

Signature:
public IList<SearchCondition> WhereConditions { get; }

Methods

ToString

Returns a textual representation of the Statement.

Signature:
public String ToString()