Beispiel #1
0
        ///
        ///  @param [in] dbPath -- absolute or relative path (inside phone memory) to the db file </param>
        ///  @param [in] dummyInst -- a dummy instance of a class inherited from IFileData. </param>
        public static SqlFs create(string dbPath, IFileData dummyInst, Context ctxt)
        {
            AtomicBoolean isNewTableCreated = new AtomicBoolean(false);

            return(SqlFs.create(dbPath, dummyInst, ctxt, isNewTableCreated));
        }
Beispiel #2
0
        /// <summary>
        ///  Create db using the default "SimpleFileData"
        /// </summary>
        ///  @param [in] dbPath -- absolute or relative path (inside phone memory) to the db file </param>
        public static SqlFs create(string dbPath, Context ctxt)
        {
            AtomicBoolean isNewTableCreated = new AtomicBoolean(false);

            return(SqlFs.create(dbPath, new SimpleFileData(), ctxt, isNewTableCreated));
        }