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

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

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

            return(coll);
        }