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

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

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

            return(coll);
        }