public void Delete(TabRow entity) { using (var conn = new SqlConnection(_connStr)) { conn.Open(); entity.CreateRepository(conn).Delete(entity); } }