Exemple #1
0
        public AprEtniumCollection FetchByQuery(Query qry)
        {
            AprEtniumCollection coll = new AprEtniumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public AprEtniumCollection FetchAll()
        {
            AprEtniumCollection coll = new AprEtniumCollection();
            Query qry = new Query(AprEtnium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public AprEtniumCollection FetchByID(object IdEtnia)
        {
            AprEtniumCollection coll = new AprEtniumCollection().Where("idEtnia", IdEtnia).Load();

            return(coll);
        }