コード例 #1
0
        public static ProductGallery GetGalleryById(int Id)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetGalleryById(Id));
        }
コード例 #2
0
        public static List <ProductGallery> GetAllProductGalleriesByProductId(long?productId)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetAllProductGalleriesByProductId(productId));
        }
コード例 #3
0
        public static bool DeleteProductGallery(long Id)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.DeleteProductGallery(Id));
        }
コード例 #4
0
        public static long InsertProductGallery(ProductGallery gallery)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.InsertProductGallery(gallery));
        }
コード例 #5
0
        public static bool UpdateProductGallery(ProductGallery gallery)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.UpdateProductGallery(gallery));
        }
コード例 #6
0
        public static List <ProductGallery> GetAllProductGallery()
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetAllProductGallery());
        }