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

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

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

            return(coll);
        }