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

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

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

            return(coll);
        }