Example #1
0
        public TblRolesForUserCollection FetchByQuery(Query qry)
        {
            TblRolesForUserCollection coll = new TblRolesForUserCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public TblRolesForUserCollection FetchAll()
        {
            TblRolesForUserCollection coll = new TblRolesForUserCollection();
            Query qry = new Query(TblRolesForUser.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public TblRolesForUserCollection FetchByID(object SUID)
        {
            TblRolesForUserCollection coll = new TblRolesForUserCollection().Where("sUID", SUID).Load();

            return(coll);
        }