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

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

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

            return(coll);
        }