예제 #1
0
        public SysPaiCollection FetchByQuery(Query qry)
        {
            SysPaiCollection coll = new SysPaiCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public SysPaiCollection FetchAll()
        {
            SysPaiCollection coll = new SysPaiCollection();
            Query            qry  = new Query(SysPai.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public SysPaiCollection FetchByID(object IdPais)
        {
            SysPaiCollection coll = new SysPaiCollection().Where("idPais", IdPais).Load();

            return(coll);
        }