Ejemplo n.º 1
0
        public Byte[] ExportQueryResult(QueryResult myQueryResult)
        {
            var _XDocument    = XML_IO_Extensions.BuildXMLDocument(myQueryResult.ToXML());
            var _MemoryStream = new MemoryStream();

            _XDocument.Save(_MemoryStream, SaveOptions.DisableFormatting);

            return _MemoryStream.ToArray();
        }