Пример #1
0
        public DDUserCollection FetchByQuery(Query qry)
        {
            DDUserCollection coll = new DDUserCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public DDUserCollection FetchAll()
        {
            DDUserCollection coll = new DDUserCollection();
            Query            qry  = new Query(DDUser.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public DDUserCollection FetchByID(object UserID)
        {
            DDUserCollection coll = new DDUserCollection().Where("UserID", UserID).Load();

            return(coll);
        }