C# Class Hd.QueryExtensions.FromTerm

Afficher le fichier Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Méthodes publiques

Méthode Description
FromTerm ( ) : System
SubQuery ( SelectQuery query, string alias ) : FromTerm

Creates a FromTerm which represents a sub-query.

SubQuery ( string query, string alias ) : FromTerm

Creates a FromTerm which represents a sub-query.

Table ( Enum tableName, string alias ) : FromTerm
Table ( string name ) : FromTerm

Creates a FromTerm which represents a database table or view.

Creates a FromTerm without an alias. The created term will be referenced by the table's name.

Table ( string tableName, string alias ) : FromTerm

Creates a FromTerm which represents a database table or view.

Table ( string tableName, string alias, string ns ) : FromTerm

Creates a FromTerm which represents a database table or view.

Use the ns parameter to resolve table ownership

Table ( string tableName, string alias, string ns1, string ns2 ) : FromTerm

Creates a FromTerm which represents a database table or view.

Use the ns1 parameter to set table database and ns2 to set table owner.

TermRef ( string name ) : FromTerm

Creates a FromTerm which refernces abother FromTerm.

Use TermRef to reference other terms of a from clause by RefName

Method Details

FromTerm() public méthode

public FromTerm ( ) : System
Résultat System

SubQuery() public static méthode

Creates a FromTerm which represents a sub-query.
public static SubQuery ( SelectQuery query, string alias ) : FromTerm
query SelectQuery A SelectQuery instance representing the sub query
alias string term alias
Résultat FromTerm

SubQuery() public static méthode

Creates a FromTerm which represents a sub-query.
public static SubQuery ( string query, string alias ) : FromTerm
query string sub-query sql
alias string term alias
Résultat FromTerm

Table() public static méthode

public static Table ( Enum tableName, string alias ) : FromTerm
tableName System.Enum
alias string
Résultat FromTerm

Table() public static méthode

Creates a FromTerm which represents a database table or view.
Creates a FromTerm without an alias. The created term will be referenced by the table's name.
public static Table ( string name ) : FromTerm
name string Name of the table or view
Résultat FromTerm

Table() public static méthode

Creates a FromTerm which represents a database table or view.
public static Table ( string tableName, string alias ) : FromTerm
tableName string Name of the table or view
alias string Alias of the FromTerm
Résultat FromTerm

Table() public static méthode

Creates a FromTerm which represents a database table or view.
Use the ns parameter to resolve table ownership
public static Table ( string tableName, string alias, string ns ) : FromTerm
tableName string Name of the table or view
alias string Alias of the FromTerm
ns string Namespace of the table.
Résultat FromTerm

Table() public static méthode

Creates a FromTerm which represents a database table or view.
Use the ns1 parameter to set table database and ns2 to set table owner.
public static Table ( string tableName, string alias, string ns1, string ns2 ) : FromTerm
tableName string Name of the table or view
alias string Alias of the FromTerm
ns1 string First table namespace
ns2 string Second table namespace
Résultat FromTerm

TermRef() public static méthode

Creates a FromTerm which refernces abother FromTerm.
Use TermRef to reference other terms of a from clause by RefName
public static TermRef ( string name ) : FromTerm
name string The name of the referenced term.
Résultat FromTerm