public PnUsuarioCollection FetchByQuery(Query qry) { PnUsuarioCollection coll = new PnUsuarioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnUsuarioCollection FetchAll() { PnUsuarioCollection coll = new PnUsuarioCollection(); Query qry = new Query(PnUsuario.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnUsuarioCollection FetchByID(object IdUsuario) { PnUsuarioCollection coll = new PnUsuarioCollection().Where("id_usuario", IdUsuario).Load(); return(coll); }