AspNet.StarterKits.Classifieds.BusinessLogicLayer.AdsDB.GetActiveAdsByQuery C# (CSharp) Méthode

GetActiveAdsByQuery() public static méthode

public static GetActiveAdsByQuery ( int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adLevel, int dayRange, bool mustHaveImage ) : AdsDataComponent.AdsDataTable
recordLimit int
categoryId int
memberId int
maxPrice decimal
searchTerm string
location string
adType int
adLevel int
dayRange int
mustHaveImage bool
Résultat AdsDataComponent.AdsDataTable
		public static AdsDataComponent.AdsDataTable GetActiveAdsByQuery(int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adLevel, int dayRange, bool mustHaveImage)
		{
			String escapedSearchTerm = AdsDB.EscapeWildcardCharacters(searchTerm);
			String escapedLocation = AdsDB.EscapeWildcardCharacters(location);
			return GetAdsByQuery(recordLimit,
				categoryId, memberId, maxPrice,
				HttpUtility.HtmlEncode(escapedSearchTerm),
				HttpUtility.HtmlEncode(escapedLocation),
				adType, (int)AdStatus.Activated,
				adLevel, dayRange, mustHaveImage);
		}