示例#1
0
        public async Task <IActionResult> Realmlist()
        {
            using (var conn = Realm.GetAuthDb())
            {
                var query = await conn.QueryAsync <Realm>(
                    "SELECT * FROM `realmlist`;");

                var ret = query.ToList();
                return(View(ret));
            }
        }