Ejemplo n.º 1
0
        public static List <Account> SelectAccounts()
        {
            var sql     = "select * from account";
            var records = new List <Account>();

            db.ToRecords(db.ExecuteQuery(sql), out records);
            return(records);
        }
        public void Test1()
        {
            var sa     = new SqliteAccessor();
            var sql    = "select sqlite_version()";
            var result = sa.ExecuteQuery(sql);

            result.Count.IsNot(0);
        }