Пример #1
0
        public ProductStatusDescriptorCollection FetchByQuery(Query qry)
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public ProductStatusDescriptorCollection FetchAll()
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection();
            Query qry = new Query(ProductStatusDescriptor.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public ProductStatusDescriptorCollection FetchByID(object ProductStatusDescriptorId)
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection().Where("ProductStatusDescriptorId", ProductStatusDescriptorId).Load();

            return(coll);
        }