/// <summary> /// 删除 /// </summary> /// <param name="condition">删除条件</param> /// <returns>删除是否成功</returns> public bool Delete(dynamic condition) { string SQL = SQLBuilder.BuildDeleteSQL(condition, TableName); int result = Connection.ExecuteSql(SQL, (Object)condition); return(result == 1 ? true : false); }