コード例 #1
0
        public SysPrintColorCollection FetchByQuery(Query qry)
        {
            var coll = new SysPrintColorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public SysPrintColorCollection FetchAll()
        {
            var coll = new SysPrintColorCollection();
            var qry  = new Query(SysPrintColor.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public SysPrintColorCollection FetchByID(object Id)
        {
            SysPrintColorCollection coll = new SysPrintColorCollection().Where("ID", Id).Load();

            return(coll);
        }