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

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

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

            return(coll);
        }