Exemplo n.º 1
0
        public PnTipoDocumentoCollection FetchByQuery(Query qry)
        {
            PnTipoDocumentoCollection coll = new PnTipoDocumentoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnTipoDocumentoCollection FetchAll()
        {
            PnTipoDocumentoCollection coll = new PnTipoDocumentoCollection();
            Query qry = new Query(PnTipoDocumento.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public PnTipoDocumentoCollection FetchByID(object IdTipoDocumento)
        {
            PnTipoDocumentoCollection coll = new PnTipoDocumentoCollection().Where("id_tipo_documento", IdTipoDocumento).Load();

            return(coll);
        }