コード例 #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);
        }