예제 #1
0
 public static void AddUserInsect(UserInsect userInsect)
 {
     using (var con = GetUserDbConnection())
     {
         con.InsertOrReplace(userInsect);
     }
 }
예제 #2
0
        public static async Task AddUserInsect(UserInsect userInsect)
        {
            var con = await GetUserDbConnection();

            await con.InsertOrReplaceAsync(userInsect);

            await con.CloseAsync();
        }