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

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

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

            return(coll);
        }