Пример #1
0
 /// <summary>
 /// Check that data is valid.
 /// </summary>
 public override void CheckData()
 {
     base.CheckData();
     LocationSearchString = LocationSearchString.CheckSqlInjection();
     if (Counties.IsNotEmpty())
     {
         foreach (WebCounty county in Counties)
         {
             county.CheckData();
         }
     }
     if (Provinces.IsNotEmpty())
     {
         foreach (WebProvince province in Provinces)
         {
             province.CheckData();
         }
     }
 }