コード例 #1
0
 public List<DAL.Entidades.Cliente> List(string NomeFantasia, string RazaoSocial)
 {
     ClientePL pl = null;
     List<DAL.Entidades.Cliente> retorno = new List<DAL.Entidades.Cliente>();
     try
     {
         pl = new ClientePL();
         retorno =
             pl.SP_CONSULTAR_CLIENTE(NomeFantasia, RazaoSocial);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         if (pl != null)
             pl.Dispose();
     }
     return retorno;
 }