Esempio n. 1
0
            public override SqlAssignExpression Deserialize(BinaryReader reader)
            {
                var reference = SqlExpressionSerializers.Deserialize(reader);
                var value     = SqlExpressionSerializers.Deserialize(reader);

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