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

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

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

            return(coll);
        }