Example #1
0
        public FilterCompanyCollection FetchByQuery(Query qry)
        {
            FilterCompanyCollection coll = new FilterCompanyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public FilterCompanyCollection FetchAll()
        {
            FilterCompanyCollection coll = new FilterCompanyCollection();
            Query qry = new Query(FilterCompany.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public FilterCompanyCollection FetchByID(object FilterID)
        {
            FilterCompanyCollection coll = new FilterCompanyCollection().Where("FilterID", FilterID).Load();

            return(coll);
        }