38 lines
1 KiB
C#
38 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using ULA.Cathay.CreditoModel.Credito;
|
|
using Ultimus.Utilitarios;
|
|
|
|
namespace ULA.Cathay.CreditoModel.DAL.Credito
|
|
{
|
|
|
|
public partial class MatrizSeleccionRelacionDAL
|
|
{
|
|
private UltimusLogs logger = new UltimusLogs("MatrizSeleccionRelacionDAL");
|
|
|
|
private string _IDLogger;
|
|
public string IDLogger;
|
|
public CreditoContex db = new CreditoContex();
|
|
|
|
#region Obtener
|
|
|
|
public List<MatrizSeleccionRelacion> Obtener()
|
|
{
|
|
List<MatrizSeleccionRelacion> listaMatrizSeleccionRelacion = null;
|
|
|
|
try
|
|
{
|
|
listaMatrizSeleccionRelacion = new List<MatrizSeleccionRelacion>();
|
|
listaMatrizSeleccionRelacion = db.MatrizSeleccionRelacion.ToList();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
logger.Error(IDLogger + " Error : Obtener " + "=" + ex.Message + ex.StackTrace);
|
|
}
|
|
return listaMatrizSeleccionRelacion;
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|