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

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

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

            return(coll);
        }