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