示例#1
0
        public DDRoleCollection FetchByQuery(Query qry)
        {
            DDRoleCollection coll = new DDRoleCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public DDRoleCollection FetchAll()
        {
            DDRoleCollection coll = new DDRoleCollection();
            Query            qry  = new Query(DDRole.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public DDRoleCollection FetchByID(object RoleID)
        {
            DDRoleCollection coll = new DDRoleCollection().Where("RoleID", RoleID).Load();

            return(coll);
        }