示例#1
0
 public IList <OrcamentoPedidoVendaCabDTO> selectOrcamentoPedidoVendaCab(OrcamentoPedidoVendaCabDTO orcamentoPedidoVendaCab)
 {
     try
     {
         IList <OrcamentoPedidoVendaCabDTO> resultado = null;
         using (ISession session = NHibernateHelper.getSessionFactory().OpenSession())
         {
             OrcamentoDAL DAL = new OrcamentoDAL(session);
             resultado = DAL.select(orcamentoPedidoVendaCab);
         }
         return(resultado);
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message + (ex.InnerException != null ? " " + ex.InnerException.Message : ""));
     }
 }