DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | List of all members
Deveel.Data.Sql.Fluid.QueryConfigurationExtensions Class Reference

Static Public Member Functions

static IQueryConfiguration All (this IQueryConfiguration configuration)
 
static IQueryConfiguration Distinct (this IQueryConfiguration configuration)
 
static ISelectListConfiguration Column (this ISelectListConfiguration configuration, ObjectName columnName)
 
static ISelectListConfiguration Column (this ISelectListConfiguration configuration, ObjectName columnName, string alias)
 
static ISelectListConfiguration Column (this ISelectListConfiguration configuration, string columnName)
 
static ISelectListConfiguration Column (this ISelectListConfiguration configuration, string columnName, string alias)
 
static ISelectListConfiguration Expression (this ISelectListConfiguration configuration, SqlExpression expression)
 
static ISelectListConfiguration Expression (this ISelectListConfiguration configuration, SqlExpression expression, string alias)
 
static IQueryConfiguration From (this IQueryConfiguration configuration, string tableName)
 
static IQueryConfiguration From (this IQueryConfiguration configuration, string alias, string tableName)
 

Detailed Description

Definition at line 22 of file QueryConfigurationExtensions.cs.

Member Function Documentation

static IQueryConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.All ( this IQueryConfiguration  configuration)
inlinestatic

Definition at line 23 of file QueryConfigurationExtensions.cs.

23  {
24  return configuration.All(true);
25  }
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Column ( this ISelectListConfiguration  configuration,
ObjectName  columnName 
)
inlinestatic

Definition at line 31 of file QueryConfigurationExtensions.cs.

31  {
32  return Column(configuration, columnName, null);
33  }
static ISelectListConfiguration Column(this ISelectListConfiguration configuration, ObjectName columnName)
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Column ( this ISelectListConfiguration  configuration,
ObjectName  columnName,
string  alias 
)
inlinestatic

Definition at line 35 of file QueryConfigurationExtensions.cs.

35  {
36  return configuration.Expression(SqlExpression.Reference(columnName), alias);
37  }
static SqlReferenceExpression Reference(ObjectName objectName)
Defines the base class for instances that represent SQL expression tree nodes.
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Column ( this ISelectListConfiguration  configuration,
string  columnName 
)
inlinestatic

Definition at line 39 of file QueryConfigurationExtensions.cs.

39  {
40  return Column(configuration, columnName, null);
41  }
static ISelectListConfiguration Column(this ISelectListConfiguration configuration, ObjectName columnName)
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Column ( this ISelectListConfiguration  configuration,
string  columnName,
string  alias 
)
inlinestatic

Definition at line 43 of file QueryConfigurationExtensions.cs.

43  {
44  return configuration.Column(ObjectName.Parse(columnName), alias);
45  }
static IQueryConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Distinct ( this IQueryConfiguration  configuration)
inlinestatic

Definition at line 27 of file QueryConfigurationExtensions.cs.

27  {
28  return configuration.Distinct(true);
29  }
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Expression ( this ISelectListConfiguration  configuration,
SqlExpression  expression 
)
inlinestatic

Definition at line 47 of file QueryConfigurationExtensions.cs.

47  {
48  return Expression(configuration, expression, null);
49  }
static ISelectListConfiguration Expression(this ISelectListConfiguration configuration, SqlExpression expression)
static ISelectListConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.Expression ( this ISelectListConfiguration  configuration,
SqlExpression  expression,
string  alias 
)
inlinestatic

Definition at line 51 of file QueryConfigurationExtensions.cs.

51  {
52  return configuration.Item(x => x.Expression(expression).As(alias));
53  }
static IQueryConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.From ( this IQueryConfiguration  configuration,
string  tableName 
)
inlinestatic

Definition at line 55 of file QueryConfigurationExtensions.cs.

55  {
56  return From(configuration, null, tableName);
57  }
static IQueryConfiguration From(this IQueryConfiguration configuration, string tableName)
static IQueryConfiguration Deveel.Data.Sql.Fluid.QueryConfigurationExtensions.From ( this IQueryConfiguration  configuration,
string  alias,
string  tableName 
)
inlinestatic

Definition at line 59 of file QueryConfigurationExtensions.cs.

59  {
60  configuration.From(sources => sources.Table(ObjectName.Parse(tableName)).As(alias));
61  return configuration;
62  }

The documentation for this class was generated from the following file: