readAttributes() публичный Метод

public readAttributes ( ) : void
Результат void
    private static void updateDatabase(string databaseFile)
    {
        StaticClassState classOriginalState = new StaticClassState(typeof(Sqlite));

        classOriginalState.readAttributes();

        classOriginalState.writeAttributes(Sqlite.InitialState);

        Sqlite.CurrentVersion = "0";
        Sqlite.setSqlFilePath(databaseFile);
        Sqlite.Connect();

        Sqlite.ConvertToLastChronojumpDBVersion();

        classOriginalState.writeAttributes(classOriginalState);
        Sqlite.Connect();
    }
Пример #2
0
 public static void saveClassState()
 {
     initialState = new StaticClassState (typeof (Sqlite));
     initialState.readAttributes ();
 }
Пример #3
0
    private static void updateDatabase(string databaseFile)
    {
        StaticClassState classOriginalState = new StaticClassState (typeof (Sqlite));

        classOriginalState.readAttributes ();

        classOriginalState.writeAttributes (Sqlite.InitialState);

        Sqlite.CurrentVersion = "0";
        Sqlite.setSqlFilePath (databaseFile);
        Sqlite.Connect ();

        Sqlite.ConvertToLastChronojumpDBVersion ();

        classOriginalState.writeAttributes (classOriginalState);
        Sqlite.Connect ();
    }