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

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

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

            return(coll);
        }