public new DbProxyDataReader ExecuteReader() { DbProxyDataReader result = new DbProxyDataReader(this); DictNode contentNode = new DictNode(); contentNode.Add("action", 4); byte[] sendMsg = BuildMessage(contentNode); connection.SendPacket(sendMsg); byte[] rcvMsg = connection.ReceivePacket(); DecodeReader(rcvMsg, result.SchemaTable); return(result); }
public override void Close() { if (connection != null) { connection.Close(); } if (dataReader != null) { dataReader = null; } ChangeState(ConnectionState.Closed); }