示例#1
0
        public SalesOrderDetailCollection FetchByQuery(Query qry)
        {
            SalesOrderDetailCollection coll = new SalesOrderDetailCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public SalesOrderDetailCollection FetchAll()
        {
            SalesOrderDetailCollection coll = new SalesOrderDetailCollection();
            Query qry = new Query(SalesOrderDetail.Schema);

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

            return(coll);
        }