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

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

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

            return(coll);
        }