cambios 17/02/2026
This commit is contained in:
@@ -251,35 +251,35 @@ namespace bdGrupoSanchoToro.db
|
||||
[NotMapped] public virtual string? Email2_TMP { get; set; }
|
||||
[NotMapped] public virtual bool EnviarEmail_TMP { get; set; }
|
||||
|
||||
#region Eventos
|
||||
#region Obras
|
||||
[NotMapped]
|
||||
public string ProvinciaEvento
|
||||
public string ProvinciaObra
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idEvento == null || this.idEventoNavigation.CodigoMunicipioNavigation == null) return "";
|
||||
if (this.idObra == null || this.idObraNavigation.CodigoMunicipioNavigation == null) return "";
|
||||
else
|
||||
return this.idEventoNavigation.CodigoMunicipioNavigation.CodigoProvinciaNavigation.Nombre;
|
||||
return this.idObraNavigation.CodigoMunicipioNavigation.CodigoProvinciaNavigation.Nombre;
|
||||
}
|
||||
}
|
||||
[NotMapped]
|
||||
public string PoblacionEvento
|
||||
public string PoblacionObra
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idEvento == null || this.idEventoNavigation.CodigoMunicipioNavigation == null) return "";
|
||||
if (this.idObra == null || this.idObraNavigation.CodigoMunicipioNavigation == null) return "";
|
||||
else
|
||||
return this.idEventoNavigation.CodigoMunicipioNavigation.Nombre;
|
||||
return this.idObraNavigation.CodigoMunicipioNavigation.Nombre;
|
||||
}
|
||||
}
|
||||
[NotMapped]
|
||||
public string DireccionEvento
|
||||
public string DireccionObra
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idEvento == null) return "";
|
||||
if (this.idObra == null) return "";
|
||||
else
|
||||
return this.idEventoNavigation.DireccionCompleta;
|
||||
return this.idObraNavigation.DireccionCompleta;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user