示例#1
0
        public PhpssSvarCollection FetchByQuery(Query qry)
        {
            PhpssSvarCollection coll = new PhpssSvarCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public PhpssSvarCollection FetchAll()
        {
            PhpssSvarCollection coll = new PhpssSvarCollection();
            Query qry = new Query(PhpssSvar.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public PhpssSvarCollection FetchByID(object Id)
        {
            PhpssSvarCollection coll = new PhpssSvarCollection().Where("id", Id).Load();

            return(coll);
        }