public bool Delete(Guid id) { using (var c = new Mono.Data.Sqlite.SqliteConnection(Database.ConnectionString)) { return c.Execute ("delete from Curso where Id = @id", new {Id = id}) > 0; } }