Ejemplo n.º 1
0
        internal OutputPrepared(ProtocolVersion protocolVersion, FrameReader reader)
        {
            var length = reader.ReadInt16();

            QueryId = new byte[length];
            reader.Read(QueryId, 0, length);
            Metadata = new RowSetMetadata(reader, protocolVersion.SupportsPreparedPartitionKey());
        }
Ejemplo n.º 2
0
        internal OutputPrepared(ProtocolVersion protocolVersion, FrameReader reader)
        {
            QueryId = reader.ReadShortBytes();

            if (protocolVersion.SupportsResultMetadataId())
            {
                ResultMetadataId = reader.ReadShortBytes();
            }

            Metadata = new RowSetMetadata(reader, protocolVersion.SupportsPreparedPartitionKey());
        }