Exemplo n.º 1
0
 public override DbconnBase Clone()
 {
     if (m_SQLiteConnection != null)
     {
         DbConnSqlite conn = new DbConnSqlite();
         conn.m_SQLiteConnection = (SQLiteConnection)this.m_SQLiteConnection.Clone();
         return(conn);
     }
     return(null);
 }
Exemplo n.º 2
0
        public static string GetDefaultSqliteConnString()
        {
            string connstr;

            //connstr = DbConnMysql.GetConnectString("localhost", "root", "123456", "cdl");
            connstr = DbConnSqlite.GetConnectString(DefaultSqliteDatabaseName);
            //connstr = DbConnMysql.GetConnectString("192.168.0.254", "Test", "123456", "cdl");
            //connstr = DbConnMysql.GetConnectString("192.168.0.188", "remote", "123456", "cdl");
            return(connstr);
        }