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

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

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

            return(coll);
        }