コード例 #1
0
 public IList <ViewFinLancamentoPagarDTO> selectViewFinLancamentoPagar(ViewFinLancamentoPagarDTO ViewFinLancamentoPagar)
 {
     try
     {
         IList <ViewFinLancamentoPagarDTO> resultado = null;
         using (ISession session = NHibernateHelper.getSessionFactory().OpenSession())
         {
             PagamentoDAL DAL = new PagamentoDAL(session);
             resultado = DAL.select(ViewFinLancamentoPagar);
         }
         return(resultado);
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message + (ex.InnerException != null ? " " + ex.InnerException.Message : ""));
     }
 }
コード例 #2
0
 public PagamentosType select(int idEmpresa)
 {
     return(_DAL.select(idEmpresa));
 }