JiangSu/cs/ImgDAL.cs
@@ -54,6 +54,11 @@ return SQLiteHelper.ExecuteNonQuery(sql); } public static int DelAll() { return SQLiteHelper.ExecuteNonQuery("delete from img"); } public static int Insert(Img img) { string sql = "insert into img (name, path, json, x, y, z) values (@name, @path, @json, @x, @y, @z); select last_insert_rowid();";