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