public AutNotaPedidoCollection FetchByQuery(Query qry)
        {
            AutNotaPedidoCollection coll = new AutNotaPedidoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AutNotaPedidoCollection FetchAll()
        {
            AutNotaPedidoCollection coll = new AutNotaPedidoCollection();
            Query qry = new Query(AutNotaPedido.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AutNotaPedidoCollection FetchByID(object IdNotaPedido)
        {
            AutNotaPedidoCollection coll = new AutNotaPedidoCollection().Where("idNotaPedido", IdNotaPedido).Load();

            return(coll);
        }