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

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

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

            return(coll);
        }