Пример #1
0
 public void Excluir()
 {
     if (IdMapa > 0)
     {
         Controle.ExecutaSQL("DELETE FROM MapaProducao WHERE Id_Mapa=" + IdMapa.ToString().Trim());
         Controle.ExecutaSQL("DELETE FROM MapaProducaoItens WHERE Id_Mapa=" + IdMapa.ToString().Trim());
     }
 }
Пример #2
0
 public void Excluir()
 {
     if (IdMapa > 0)
     {
         Controle.ExecutaSQL("DELETE FROM MAPAENTREGA WHERE Id_Mapa=" + IdMapa.ToString().Trim());
         Controle.ExecutaSQL("DELETE FROM MAPAENTREGAITENS WHERE Id_Mapa=" + IdMapa.ToString().Trim());
     }
 }
Пример #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = IdMapa.GetHashCode();
         result = (result * 397) ^ IdCalle;
         result = (result * 397) ^ IdEsquina;
         result = (result * 397) ^ IdEntrecalle;
         result = (result * 397) ^ Altura;
         result = (result * 397) ^ Latitud.GetHashCode();
         result = (result * 397) ^ Longitud.GetHashCode();
         result = (result * 397) ^ Calle.GetHashCode();
         result = (result * 397) ^ Partido.GetHashCode();
         result = (result * 397) ^ Provincia.GetHashCode();
         result = (result * 397) ^ Pais.GetHashCode();
         result = (result * 397) ^ Descripcion.GetHashCode();
         return(result);
     }
 }