Пример #1
0
        public RisAseguradoraCollection FetchByQuery(Query qry)
        {
            RisAseguradoraCollection coll = new RisAseguradoraCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public RisAseguradoraCollection FetchAll()
        {
            RisAseguradoraCollection coll = new RisAseguradoraCollection();
            Query qry = new Query(RisAseguradora.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public RisAseguradoraCollection FetchByID(object IdAseguradora)
        {
            RisAseguradoraCollection coll = new RisAseguradoraCollection().Where("idAseguradora", IdAseguradora).Load();

            return(coll);
        }