DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Statements.SqlColumnAssignment Class Reference
Inheritance diagram for Deveel.Data.Sql.Statements.SqlColumnAssignment:
Deveel.Data.Sql.Expressions.IPreparable

Public Member Functions

 SqlColumnAssignment (string columnName, SqlExpression expression)
 

Properties

string ColumnName [get, private set]
 
SqlExpression Expression [get, private set]
 

Private Member Functions

object IPreparable. Prepare (IExpressionPreparer preparer)
 Converts the underlying value of this instance into an object that can be evaluated by an expression. More...
 

Detailed Description

Definition at line 22 of file SqlColumnAssignment.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Statements.SqlColumnAssignment.SqlColumnAssignment ( string  columnName,
SqlExpression  expression 
)
inline

Definition at line 23 of file SqlColumnAssignment.cs.

23  {
24  if (expression == null)
25  throw new ArgumentNullException("expression");
26  if (String.IsNullOrEmpty(columnName))
27  throw new ArgumentNullException("columnName");
28 
29  ColumnName = columnName;
30  Expression = expression;
31  }
A long string in the system.

Member Function Documentation

object IPreparable. Deveel.Data.Sql.Statements.SqlColumnAssignment.Prepare ( IExpressionPreparer  preparer)
inlineprivate

Converts the underlying value of this instance into an object that can be evaluated by an expression.

Parameters
preparerThe context used to prepare this object.
Returns
Returns an object that can be evaluated by an expression.

Implements Deveel.Data.Sql.Expressions.IPreparable.

Definition at line 37 of file SqlColumnAssignment.cs.

37  {
38  var expression = Expression;
39  if (expression != null)
40  expression = expression.Prepare(preparer);
41 
42  return new SqlColumnAssignment(ColumnName, expression);
43  }
virtual SqlExpression Prepare(IExpressionPreparer preparer)
SqlColumnAssignment(string columnName, SqlExpression expression)

Property Documentation

string Deveel.Data.Sql.Statements.SqlColumnAssignment.ColumnName
getprivate set

Definition at line 33 of file SqlColumnAssignment.cs.

SqlExpression Deveel.Data.Sql.Statements.SqlColumnAssignment.Expression
getprivate set

Definition at line 35 of file SqlColumnAssignment.cs.


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