Exemplo n.º 1
0
        public VendorContactCollection FetchByQuery(Query qry)
        {
            VendorContactCollection coll = new VendorContactCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public VendorContactCollection FetchAll()
        {
            VendorContactCollection coll = new VendorContactCollection();
            Query qry = new Query(VendorContact.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public VendorContactCollection FetchByID(object VendorID)
        {
            VendorContactCollection coll = new VendorContactCollection().Where("VendorID", VendorID).Load();

            return(coll);
        }