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

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

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

            return(coll);
        }