Exemple #1
0
        public SysTipoDocumentoCollection FetchByQuery(Query qry)
        {
            SysTipoDocumentoCollection coll = new SysTipoDocumentoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public SysTipoDocumentoCollection FetchAll()
        {
            SysTipoDocumentoCollection coll = new SysTipoDocumentoCollection();
            Query qry = new Query(SysTipoDocumento.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public SysTipoDocumentoCollection FetchByID(object IdTipoDocumento)
        {
            SysTipoDocumentoCollection coll = new SysTipoDocumentoCollection().Where("idTipoDocumento", IdTipoDocumento).Load();

            return(coll);
        }