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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }