public ProductAttributeMapCollection FetchByQuery(Query qry)
        {
            ProductAttributeMapCollection coll = new ProductAttributeMapCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public ProductAttributeMapCollection FetchAll()
        {
            ProductAttributeMapCollection coll = new ProductAttributeMapCollection();
            Query qry = new Query(ProductAttributeMap.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public ProductAttributeMapCollection FetchByID(object AttributeId)
        {
            ProductAttributeMapCollection coll = new ProductAttributeMapCollection().Where("AttributeId", AttributeId).Load();

            return(coll);
        }