public void Insert (uint key, object value)
{
if (key > KeyCount) {
Append (value);
return;
}
using (var cursor = this.NewCursor ()) {
cursor.MoveTo (key);
cursor.Put (key, value, Cursor.Dest.Before);
if (this.Inserted != null)
this.Inserted (this, new BdbArgs (key, value));
}
}