Exemplo n.º 1
0
 public static MyFileDbConnection getConnection()
 {
     if (null == m_this)
     {
         ModelFileDatabase.init();
     }
     return(new ModelFileDatabase.MyFileDbConnection(DBFILE_DB_NAME));
 }
Exemplo n.º 2
0
 public static void init()
 {
     if (null != m_this)
     {
         deInit();
     }
     m_this = new ModelFileDatabase();
 }
Exemplo n.º 3
0
 public static void deInit()
 {
     m_this = null;
 }