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