Exemplo n.º 1
0
        public ProductStatusDescriptorCollection FetchByQuery(Query qry)
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public ProductStatusDescriptorCollection FetchAll()
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection();
            Query qry = new Query(ProductStatusDescriptor.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public ProductStatusDescriptorCollection FetchByID(object ProductStatusDescriptorId)
        {
            ProductStatusDescriptorCollection coll = new ProductStatusDescriptorCollection().Where("ProductStatusDescriptorId", ProductStatusDescriptorId).Load();

            return(coll);
        }