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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AlertMessageCollection FetchByID(object AlertID)
        {
            AlertMessageCollection coll = new AlertMessageCollection().Where("alertID", AlertID).Load();

            return(coll);
        }