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

Package Functions

 JoinPart (JoinType joinType, ObjectName tableName, SqlExpression onExpression)
 
 JoinPart (JoinType joinType, SqlQueryExpression subQuery, SqlExpression onExpression)
 

Properties

JoinType JoinType [get, private set]
 
ObjectName TableName [get, private set]
 
SqlQueryExpression SubQuery [get, private set]
 
SqlExpression OnExpression [get, private set]
 

Private Member Functions

 JoinPart (ObjectData data)
 
void ISerializable. GetData (SerializeData data)
 

Additional Inherited Members

Detailed Description

Definition at line 24 of file JoinPart.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Expressions.JoinPart.JoinPart ( JoinType  joinType,
ObjectName  tableName,
SqlExpression  onExpression 
)
inlinepackage

Definition at line 25 of file JoinPart.cs.

25  {
26  if (tableName == null)
27  throw new ArgumentNullException("tableName");
28 
29  OnExpression = onExpression;
30  JoinType = joinType;
31  TableName = tableName;
32  }
Deveel.Data.Sql.Expressions.JoinPart.JoinPart ( JoinType  joinType,
SqlQueryExpression  subQuery,
SqlExpression  onExpression 
)
inlinepackage

Definition at line 34 of file JoinPart.cs.

34  {
35  if (subQuery == null)
36  throw new ArgumentNullException("subQuery");
37 
38  OnExpression = onExpression;
39  JoinType = joinType;
40  SubQuery = subQuery;
41  }
Deveel.Data.Sql.Expressions.JoinPart.JoinPart ( ObjectData  data)
inlineprivate

Definition at line 43 of file JoinPart.cs.

43  {
44  TableName = data.GetValue<ObjectName>("Table");
45  SubQuery = data.GetValue<SqlQueryExpression>("SubQuery");
46  JoinType = (JoinType) data.GetInt32("JoinType");
47  OnExpression = data.GetValue<SqlExpression>("On");
48  }

Member Function Documentation

void ISerializable. Deveel.Data.Sql.Expressions.JoinPart.GetData ( SerializeData  data)
inlineprivate

Implements Deveel.Data.Serialization.ISerializable.

Definition at line 58 of file JoinPart.cs.

58  {
59  data.SetValue("Table", TableName);
60  data.SetValue("SubQuery", SubQuery);
61  data.SetValue("JoinType", (int)JoinType);
62  data.SetValue("On", OnExpression);
63  }
void SetValue(string key, Type type, object value)

Property Documentation

JoinType Deveel.Data.Sql.Expressions.JoinPart.JoinType
getprivate set

Definition at line 50 of file JoinPart.cs.

SqlExpression Deveel.Data.Sql.Expressions.JoinPart.OnExpression
getprivate set

Definition at line 56 of file JoinPart.cs.

SqlQueryExpression Deveel.Data.Sql.Expressions.JoinPart.SubQuery
getprivate set

Definition at line 54 of file JoinPart.cs.

ObjectName Deveel.Data.Sql.Expressions.JoinPart.TableName
getprivate set

Definition at line 52 of file JoinPart.cs.


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