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

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

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

            return(coll);
        }