예제 #1
0
        public SysRoleCollection FetchByQuery(Query qry)
        {
            SysRoleCollection coll = new SysRoleCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SysRoleCollection FetchAll()
        {
            SysRoleCollection coll = new SysRoleCollection();
            Query             qry  = new Query(SysRole.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public SysRoleCollection FetchByID(object IRole)
        {
            SysRoleCollection coll = new SysRoleCollection().Where("iRole", IRole).Load();

            return(coll);
        }