Example #1
0
 public BannerAdvert(int id)
     : base(id)
 {
     //initBanner(ImagePath);
     _bannedCountries = new StateHashableSet <string>(new HashSet <string>());
     selectBannedCountries();
 }
Example #2
0
 /// <summary>
 /// Creates blank instance of BannerAdvert class
 /// </summary>
 public BannerAdvert()
     : base()
 {
     _bannedCountries = new StateHashableSet <string>(new HashSet <string>());
     _geolocationList = new List <BannerAdvertGeolocation>();
     AdvertPackId     = NotInDatabaseId;
 }
Example #3
0
        public BannerAdvert(DataRow row, bool isUpToDate = true)
            : base(row, isUpToDate)
        {
            string imagePath = row.Field <string>(BannerAdvert.Columns.ImagePath);

            //initBanner(imagePath);
            _bannedCountries = new StateHashableSet <string>(new HashSet <string>());
            selectBannedCountries();
        }