Example #1
0
        public int SQLiteTestConn()
        {
            int ret = 0;

            sqlCommand = "";
            try
            {
                DbOperation dbOperation = new DbOperation(connectionString, DbType);
                //dbOperation.ExecuteNonQuery(sqlCommand);
            }
            catch (SQLiteException ex)
            {
                Console.WriteLine(ex.ToString());

                return(-1);
            }
            return(ret);
        }
Example #2
0
 public void SQLiteQuery()
 {
     DbOperation dbOperation = new DbOperation(connectionString, DbType);
     //dbOperation.ExecuteNonQuery(sqlCommand);
 }