コード例 #1
0
ファイル: CallbackExamples.cs プロジェクト: Galigator/db4o
        // #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
ファイル: CallbackExamples.cs プロジェクト: Galigator/db4o
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }
コード例 #3
0
 public Car(Pilot pilot)
 {
     this.pilot = pilot;
 }