Пример #1
0
		public BEImages SelectAllInactive()
		{
			DAImages da = new DAImages();
			BEImages ds = new BEImages();
			da.SelectAllInactive(ds.tbl_Images);
			return ds;
		}
Пример #2
0
		public BEImages SelectByID(int imageid)
		{
			DAImages daD = new DAImages();
			BEImages ds = new BEImages();
			daD.SelectByID(imageid.ToString(), ds.tbl_Images);

			return ds;
		}
Пример #3
0
		public BEImages SelectByImageCategoryID(int ImageCategoryID)
		{
			DAImages da = new DAImages();
			BEImages ds = new BEImages();

			da.SelectAllByImageCategoryID(ImageCategoryID, ds.tbl_Images);

			return ds;
		}
Пример #4
0
        public BEImages SelectActiveWithImageCategories()
        {
            DAImages da = new DAImages();
            BEImages ds = new BEImages();

            da.SelectActiveWithImageCategories(ds.tbl_Images);

            return ds;
        }
Пример #5
0
 public int GetGalleryPageTypeIDByCategoryID(int imageCategoryID)
 {
     DAImages da = new DAImages();
     return da.GetGalleryPageTypeIDByCategoryID(imageCategoryID);
 }
Пример #6
0
		public void Update(BEImages ds)
		{
			DAImages da = new DAImages();
			da.Update(ds.tbl_Images);
		}
Пример #7
0
        public int GetImagesMaxOrder(int imageCategoryID)
        {
            DAImages da = new DAImages();

            return da.GetImagesMaxOrder(imageCategoryID);
        }
Пример #8
0
        public BEImages SelectActiveGalleryImagesByPageTypeIDAndPageTypeSpecificID(int pageTypeID, int pageTypeSpecificID)
        {
            DAImages da = new DAImages();
            BEImages ds = new BEImages();

            da.SelectActiveGalleryImagesByPageTypeIDAndPageTypeSpecificID(pageTypeID, pageTypeSpecificID, ds.tbl_Images);

            return ds;
        }
Пример #9
0
 public string SelectActiveTopImageNameFromGalleryByPageTypeIDAndPageTypeSpecificID(int pageTypeID, int pageTypeSpecificID)
 {
     DAImages da = new DAImages();
     return da.SelectActiveTopImageNameFromGalleryByPageTypeIDAndPageTypeSpecificID(pageTypeID, pageTypeSpecificID);
 }