コード例 #1
0
            public override SqlAssignExpression Deserialize(BinaryReader reader)
            {
                var reference = SqlExpressionSerializers.Deserialize(reader);
                var value     = SqlExpressionSerializers.Deserialize(reader);

                return(SqlExpression.Assign(reference, value));
            }
コード例 #2
0
 protected static SqlExpression ReadExpression(BinaryReader reader)
 {
     return(SqlExpressionSerializers.Deserialize(reader));
 }
コード例 #3
0
 public override void Serialize(SqlAssignExpression expression, BinaryWriter writer)
 {
     SqlExpressionSerializers.Serialize(expression.ReferenceExpression, writer);
     SqlExpressionSerializers.Serialize(expression.ValueExpression, writer);
 }
コード例 #4
0
 protected static void WriteExpression(SqlExpression expression, BinaryWriter writer)
 {
     SqlExpressionSerializers.Serialize(expression, writer);
 }