public static PyPackedRow CreatePackedRow(DBRowDescriptor header, ref MySqlDataReader result) { PyPackedRow row = new PyPackedRow(header); for (int i = 0; i < header.ColumnCount(); i++) { row.SetValue(header.GetColumnName(i).StringValue, DBColumnToPyObject(i, ref result)); } return row; }
private static string PrintPackedRow(PyPackedRow packedRow) { return("[PyPackedRow " + packedRow.RawData.Length + " bytes]"); }
private static string PrintPackedRow(PyPackedRow packedRow) { return "[PyPackedRow " + packedRow.RawData.Length + " bytes]"; }
public void Insert(PyPackedRow row) { row.Header = descriptor; items.Items.Add(row); }