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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public DDSearchTypeCollection FetchByID(object TypeID)
        {
            DDSearchTypeCollection coll = new DDSearchTypeCollection().Where("TypeID", TypeID).Load();

            return(coll);
        }