// ==================================================================== // public 関数 // ==================================================================== // -------------------------------------------------------------------- // データベースファイル生成(既存がある場合は作成しない) // -------------------------------------------------------------------- public override void CreateDatabaseIfNeeded() { if (Properties != null && DbCommon.ValidPropertyExists(Properties)) { TProperty property = DbCommon.Property(Properties); if (Common.CompareVersionString(property.AppVer, "Ver 1.18 α") >= 0) { // 既存のデータベースがあり、キャッシュデータの互換性がある場合はクリアしない return; } } CreateDatabase(); }