Exemplo n.º 1
0
        public DDRoleCollection FetchByQuery(Query qry)
        {
            DDRoleCollection coll = new DDRoleCollection();

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

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

            return(coll);
        }