Пример #1
0
        public AlertMessageCollection FetchByQuery(Query qry)
        {
            AlertMessageCollection coll = new AlertMessageCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public AlertMessageCollection FetchAll()
        {
            AlertMessageCollection coll = new AlertMessageCollection();
            Query qry = new Query(AlertMessage.Schema);

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