Esempio n. 1
0
        public AprFactorProtectorCollection FetchByQuery(Query qry)
        {
            AprFactorProtectorCollection coll = new AprFactorProtectorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public AprFactorProtectorCollection FetchAll()
        {
            AprFactorProtectorCollection coll = new AprFactorProtectorCollection();
            Query qry = new Query(AprFactorProtector.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public AprFactorProtectorCollection FetchByID(object IdFactorProtector)
        {
            AprFactorProtectorCollection coll = new AprFactorProtectorCollection().Where("idFactorProtector", IdFactorProtector).Load();

            return(coll);
        }