Creado Gestión

This commit is contained in:
2026-02-19 08:35:01 +01:00
parent 2d17179401
commit 1da1412c5f
16 changed files with 1109 additions and 25 deletions

View File

@@ -6,6 +6,7 @@ using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;
using tsUtilidades.Enumeraciones;
using System.Drawing.Imaging;
using System.IO;
namespace bdAsegasa.dbcontext
{
@@ -40,8 +41,12 @@ namespace bdAsegasa.dbcontext
var cn = lc.First(x => x.Nombre == NombreConexion);
string servidor = "";
if (Environment.MachineName.ToUpper() == "VISDIG1")
servidor = "localhost";
if (Directory.Exists("c:\\tecnosis.tfs")) {
servidor = "sevilla.asegasa.com";
}
//if (Environment.MachineName.ToUpper() == "VISDIG1")
else
{
servidor = cn.Servidor;