Пример #1
0
 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;
 }
Пример #2
0
 private static string PrintPackedRow(PyPackedRow packedRow)
 {
     return("[PyPackedRow " + packedRow.RawData.Length + " bytes]");
 }
Пример #3
0
 private static string PrintPackedRow(PyPackedRow packedRow)
 {
     return "[PyPackedRow " + packedRow.RawData.Length + " bytes]";
 }
Пример #4
0
 public void Insert(PyPackedRow row)
 {
     row.Header = descriptor;
     items.Items.Add(row);
 }