public static PyObject DBResultToCRowset(ref MySqlDataReader result) { DBRowDescriptor header = new DBRowDescriptor(ref result); CRowset rowset = new CRowset(header); while (result.Read()) { rowset.Insert(CreatePackedRow(header, ref result)); } return(rowset.Encode()); }
public static PyObject DBResultToCRowset(ref MySqlDataReader result) { DBRowDescriptor header = new DBRowDescriptor(ref result); CRowset rowset = new CRowset(header); while (result.Read()) { rowset.Insert(CreatePackedRow(header, ref result)); } return rowset.Encode(); }