Esempio n. 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));
            }
        }
Esempio n. 2
0
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }
Esempio n. 3
0
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }