public ProductVendorCollection GetAllProductVendorsCollection() { ProductVendorData data = new ProductVendorData(); ProductVendorCollection col = new ProductVendorCollection(); try { col = data.GetAllProductVendorCollection(); } catch (Exception ex) { log.Write(ex.Message, "GetAllProductVendorsCollection"); throw (ex); } finally { data = null; } return(col); }