Inheritance: global::ProtoBuf.IExtensible
 private static GeneralRecordData LoadSingleTableGuid(List<string> primaryKeys)
 {
     GeneralRecordData ret = null;
     try {
       using (MySqlCommand cmd = new MySqlCommand()) {
         cmd.Connection = DBConn.MySqlConn;
         cmd.CommandType = CommandType.StoredProcedure;
         cmd.CommandText = "LoadSingleTableGuid";
         if(primaryKeys.Count != 1)
             throw new Exception("primary key number don't match !!!");
         MySqlParameter inputParam;
         inputParam = new MySqlParameter("@_GuidType", MySqlDbType.VarChar);
         inputParam.Direction = ParameterDirection.Input;
         inputParam.Value = primaryKeys[0];
         inputParam.Size = 24;
         cmd.Parameters.Add(inputParam);
         using (DbDataReader reader = cmd.ExecuteReader()) {
           if (reader.Read()) {
             ret = new GeneralRecordData();
             object val;
             TableGuid msg = new TableGuid();
             val = reader["GuidType"];
             msg.GuidType = (string)val;
             ret.PrimaryKeys.Add(val.ToString());
             val = reader["GuidValue"];
             msg.GuidValue = (ulong)val;
             ret.DataVersion = (int)reader["DataVersion"];
             ret.Data = DbDataSerializer.Encode(msg);
           }
         }
       }
     } catch (Exception ex) {
       DBConn.Close();
       throw ex;
     }
     return ret;
 }
 private static List<GeneralRecordData> LoadAllTableGuid(int start, int count)
 {
     List<GeneralRecordData> ret = new List<GeneralRecordData>();
     try {
       using (MySqlCommand cmd = new MySqlCommand()) {
         cmd.Connection = DBConn.MySqlConn;
         cmd.CommandType = CommandType.StoredProcedure;
         cmd.CommandText = "LoadAllTableGuid";
         MySqlParameter inputParam;
         inputParam = new MySqlParameter("@_Start", MySqlDbType.Int32);
         inputParam.Direction = ParameterDirection.Input;
         inputParam.Value = start;
         cmd.Parameters.Add(inputParam);
         inputParam = new MySqlParameter("@_Count", MySqlDbType.Int32);
         inputParam.Direction = ParameterDirection.Input;
         inputParam.Value = count;
         cmd.Parameters.Add(inputParam);
         using (DbDataReader reader = cmd.ExecuteReader()) {
           while (reader.Read()) {
             GeneralRecordData record = new GeneralRecordData();
             object val;
             TableGuid msg = new TableGuid();
             val = reader["GuidType"];
             msg.GuidType = (string)val;
             record.PrimaryKeys.Add(val.ToString());
             val = reader["GuidValue"];
             msg.GuidValue = (ulong)val;
             record.DataVersion = (int)reader["DataVersion"];
             record.Data = DbDataSerializer.Encode(msg);
             ret.Add(record);
           }
         }
       }
     } catch (Exception ex) {
       DBConn.Close();
       throw ex;
     }
     return ret;
 }