Skip to content

Instantly share code, notes, and snippets.

@xerardoo
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xerardoo/11234295 to your computer and use it in GitHub Desktop.
Save xerardoo/11234295 to your computer and use it in GitHub Desktop.
Select * From (xPO)
/**
* @author: Lucio G. Pasos
* @description: Metodo para obtener todos los clientes
* @name: getAllClientes
*
*
* */
public XPCollection<Cliente> getAllClientes()
{
using (var uow = new UnitOfWork())
{
XPCollection<Cliente> Clientes = new XPCollection<Cliente>(uow);
return Clientes;//retorna la una lista de todos los clientes
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment