69 lines
1.6 KiB
C#
69 lines
1.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
using System.Configuration;
|
|
using AyAEL.MANT;
|
|
using AyADAL;
|
|
using System.Collections.Specialized;
|
|
using AyABL.Usuario;
|
|
using AyABL.AUT.Autenticacion;
|
|
|
|
namespace AyABL.Usuario
|
|
{
|
|
public class provinciaBL : AyABL
|
|
{
|
|
#region Constructores
|
|
|
|
public provinciaBL()
|
|
{
|
|
objprovinciaEL = new provinciaEL();
|
|
this.NombreTabla = Modulos.t_adm_.ToString() + Tablas.provincia.ToString();
|
|
this.NombreConeccionBD = BASESDEDATOS.SIRCHA.ToString();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Atributos
|
|
|
|
public provinciaEL objprovinciaEL
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
private static NameValueCollection appSettings = ConfigurationManager.AppSettings;
|
|
|
|
#endregion
|
|
|
|
#region Metodos
|
|
|
|
public DataSet dsListaProvincias(ArrayList arlCondicionesFiltroBusqueda)
|
|
{
|
|
try
|
|
{
|
|
ArrayList arlCondiciones = new ArrayList();
|
|
this.cargarCondicionBusqueda(arlCondiciones, arlCondicionesFiltroBusqueda);
|
|
|
|
|
|
return baseDAL.EjecutarConsulta(this.NombreTabla, this.CamposTabla, this.NombreConeccionBD, arlCondiciones,
|
|
null, "ORDER BY PKPROVINCIA ASC");
|
|
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Condiciones de Busqueda
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|