22 namespace Deveel.Data.Sql.Statements {
26 ColumnName = columnName;
27 DefaultExpression = defaultExpression;
31 ColumnName = data.
GetString(
"ColumnName");
35 public string ColumnName {
get;
private set; }
44 var defaultExp = DefaultExpression;
45 if (defaultExp != null)
46 defaultExp = defaultExp.Prepare(preparer);
52 data.
SetValue(
"ColumnName", ColumnName);
53 data.
SetValue(
"Default", DefaultExpression);
void GetData(SerializeData data)
SetDefaultAction(string columnName, SqlExpression defaultExpression)
void SetValue(string key, Type type, object value)
AlterTableActionType ActionType
An interface used to prepare a SqlExpression object.
AlterTableActionType
The possible types of actions in a AlterTableAction expression.
object Prepare(IExpressionPreparer preparer)
Converts the underlying value of this instance into an object that can be evaluated by an expression...
object GetValue(string key)
Defines the base class for instances that represent SQL expression tree nodes.
SetDefaultAction(ObjectData data)
A contract for objects that participate to a SqlExpression.Prepare phase of an expression evaluation...
string GetString(string key)