Example #1
0
        // #end example

        private static void StoreTestObjects()
        {
            using (IObjectContainer container = Db4oEmbedded.OpenFile(DatabaseFile))
            {
                Pilot pilot = new Pilot("John");
                container.Store(pilot);
                container.Store(new Car(pilot));
            }
        }
Example #2
0
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }
Example #3
0
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }