cambios 17/02/2026

This commit is contained in:
2026-02-17 13:47:52 +01:00
parent 79ae74ee26
commit 28e20494ae
51 changed files with 3199 additions and 691 deletions

View File

@@ -0,0 +1,31 @@
using tsUtilidades.Extensiones;
namespace bdGrupoSanchoToro.db
{
public partial class obras
{
public string DireccionCompleta
{
get
{
if (this.CodigoMunicipioNavigation is not null)
{
if ((this.CodigoMunicipioNavigation.Nombre ?? "") != (this.CodigoMunicipioNavigation.provincias.Nombre ?? ""))
{
return this.Direccion + " " + this.CodigoPostal + " " + this.CodigoMunicipioNavigation.Nombre + " (" + this.CodigoMunicipioNavigation.provincias.Nombre + ")";
}
else
{
return this.Direccion + " " + this.CodigoPostal + " " + this.CodigoMunicipioNavigation.Nombre;
}
}
else
{
return this.Direccion.NothingAVacio();
}
}
}
}
}