DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | List of all members
Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlConditionalExpressionSerializer Class Reference
Inheritance diagram for Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlConditionalExpressionSerializer:
Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlExpressionSerializer< SqlConditionalExpression >

Public Member Functions

override void Serialize (SqlConditionalExpression expression, BinaryWriter writer)
 
override SqlConditionalExpression Deserialize (BinaryReader reader)
 

Additional Inherited Members

- Static Protected Member Functions inherited from Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlExpressionSerializer< SqlConditionalExpression >
static void WriteExpression (SqlExpression expression, BinaryWriter writer)
 
static void WriteExpressions (SqlExpression[] expressions, BinaryWriter writer)
 
static SqlExpression ReadExpression (BinaryReader reader)
 
static SqlExpression[] ReadExpressions (BinaryReader reader)
 

Detailed Description

Definition at line 341 of file SqlExpressionSerializers.cs.

Member Function Documentation

override SqlConditionalExpression Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlConditionalExpressionSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 348 of file SqlExpressionSerializers.cs.

348  {
349  var testExp = ReadExpression(reader);
350  var trueExp = ReadExpression(reader);
351  var falseExp = ReadExpression(reader);
352 
353  return SqlExpression.Conditional(testExp, trueExp, falseExp);
354  }
override void Deveel.Data.Sql.Expressions.SqlExpressionSerializers.SqlConditionalExpressionSerializer.Serialize ( SqlConditionalExpression  expression,
BinaryWriter  writer 
)
inline

Definition at line 342 of file SqlExpressionSerializers.cs.

342  {
343  WriteExpression(expression.TestExpression, writer);
344  WriteExpression(expression.TrueExpression, writer);
345  WriteExpression(expression.FalseExpression, writer);
346  }

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