public SysEstadoCollection FetchByQuery(Query qry) { SysEstadoCollection coll = new SysEstadoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysEstadoCollection FetchAll() { SysEstadoCollection coll = new SysEstadoCollection(); Query qry = new Query(SysEstado.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }