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

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

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

            return(coll);
        }