TFS_ANTIGUO/SIGPC/AyABL/TRA/concesionarrendamientoBL.cs

47 lines
1.7 KiB
C#
Raw Permalink Normal View History

// Decompiled with JetBrains decompiler
// Type: AyABL.TRA.concesionarrendamientoBL
// Assembly: AyABL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 0F2FF6EC-B53C-44DB-9E00-2F932BF80762
// Assembly location: C:\Users\EQUIPO\Downloads\Raiz\Raiz\bin\AyABL.dll
using AyAEL.TRA;
using System;
using System.Collections.Specialized;
using System.Configuration;
namespace AyABL.TRA
{
public class concesionarrendamientoBL : AyABL
{
private static NameValueCollection appSettings = ConfigurationManager.AppSettings;
public concesionarrendamientoBL()
{
this.objconcesionarrendamientoEL = new concesionarrendamientoEL();
this.NombreTabla = Modulos.t_dis_.ToString() + Tablas.concesionarrendamiento.ToString();
this.NombreConeccionBD = BASESDEDATOS.SIGDD.ToString();
}
public concesionarrendamientoEL objconcesionarrendamientoEL { get; set; }
public int insertarconcesion()
{
try
{
this.CamposTabla = t_dis_concesionarrendamiento.DOCUMENTO.ToString() + Tablas.concesionarrendamiento.ToString() + "," + Constraints.FK.ToString() + Tablas.tipoconcesionarrendamiento.ToString() + "," + Constraints.FK.ToString() + Tablas.terreno.ToString();
this.ValoresCampos = new object[3]
{
(object) this.objconcesionarrendamientoEL.DOCUMENTO,
(object) this.objconcesionarrendamientoEL.FKTIPOCONCESIONARRENDAMIENTO,
(object) this.objconcesionarrendamientoEL.FKTERRENO
};
return this.baseDAL.Insertar(this.NombreTabla, this.CamposTabla, this.ValoresCampos, this.NombreConeccionBD);
}
catch (Exception ex)
{
throw ex;
}
}
}
}