using com.db4o;
using System;
+using System.Collections;
public class Controller : IDisposable
{
{
db.close ();
}
+
+ protected ArrayList ObjectSetToArrayList (ObjectSet result)
+ {
+ ArrayList lst = new ArrayList ();
+ Object s;
+ if (result == null)
+ return lst;
+
+ while ((s = result.next ()) != null) {
+ lst.Add (s);
+ }
+ return lst;
+ }
}
}