Creado Gestión
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user