예제 #1
0
        public TblImgAndIconCollection FetchByQuery(Query qry)
        {
            var coll = new TblImgAndIconCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TblImgAndIconCollection FetchAll()
        {
            var coll = new TblImgAndIconCollection();
            var qry  = new Query(TblImgAndIcon.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TblImgAndIconCollection FetchByID(object Id)
        {
            TblImgAndIconCollection coll = new TblImgAndIconCollection().Where("ID", Id).Load();

            return(coll);
        }