コード例 #1
0
        public PhpssIpCollection FetchByQuery(Query qry)
        {
            PhpssIpCollection coll = new PhpssIpCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PhpssIpCollection FetchAll()
        {
            PhpssIpCollection coll = new PhpssIpCollection();
            Query             qry  = new Query(PhpssIp.Schema);

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

            return(coll);
        }