コード例 #1
0
        public ProductPhotoCollection FetchByQuery(Query qry)
        {
            ProductPhotoCollection coll = new ProductPhotoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public ProductPhotoCollection FetchAll()
        {
            ProductPhotoCollection coll = new ProductPhotoCollection();
            Query qry = new Query(ProductPhoto.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public ProductPhotoCollection FetchByID(object ProductPhotoID)
        {
            ProductPhotoCollection coll = new ProductPhotoCollection().Where("ProductPhotoID", ProductPhotoID).Load();

            return(coll);
        }