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

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

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

            return(coll);
        }