Exemple #1
0
        public static recordset PrepareRow(ByteSlice b)
        {
            recordset rs = recordset.Prepare();

            rs.PutByteSlice(b);
            return(rs);
        }
Exemple #2
0
        public static recordset Prepare(ByteSlice b)
        {
            recordset rs = recordset.Prepare();

            for (int i = 0; i < b.Length; i++)
            {
                rs.Buffer.Add(b[i]);
            }

            return(rs);
        }
Exemple #3
0
 public void Add(mstring key, recordset value)
 {
     Add(key.ToByteSlice(StaticGlobals.DSpace_KeyLength), value.ToByteSlice());
 }        
Exemple #4
0
        public void Add(recordset key, mstring value)
        {
            if (key.ContainsString)
            {
                throw new Exception("Key recordset cannot contain string.");
            }

            Add(key.ToByteSlice(StaticGlobals.DSpace_KeyLength), value.ToByteSlice());
        }