Метод | Описание | |
---|---|---|
ExpireAd ( int adId, int memberId ) : void | ||
GetActiveAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
GetActiveAdsByQuery ( int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adLevel, int dayRange, bool mustHaveImage ) : AdsDataComponent.AdsDataTable | ||
GetAdById ( int adId ) : AdsDataComponent.AdsRow | ||
GetAdsByQuery ( int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adStatus, int adLevel, int dayRange, bool mustHaveImage ) : AdsDataComponent.AdsDataTable | ||
GetAdsByStatus ( AdStatus adStatus ) : AdsDataComponent.AdsDataTable | ||
GetAdsByStatus ( AdStatus adStatus, int memberId ) : AdsDataComponent.AdsDataTable | ||
GetFeaturedAdsSelection ( int maxNumAds ) : AdsDataComponent.AdsDataTable | ||
GetInactiveAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
GetPendingAds ( ) : AdsDataComponent.AdsDataTable | ||
GetPendingAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
GetSavedAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
IncrementResponseCount ( int adId ) : void | ||
IncrementViewCount ( int adId ) : void | ||
InsertAd ( int memberId, int categoryId, string title, string description, string url, decimal price, string location, int numDaysActive, AdLevel adLevel, AdStatus adStatus, AdType adType ) : int | ||
InsertSavedAd ( int adId, int memberId ) : void | ||
InsertSavedAdList ( List |
||
MoveAdsToCategory ( int currentCategoryId, int newCategoryId ) : void | ||
RelistAd ( int adId, int categoryId, string title, string description, string url, decimal price, string location, int numDaysActive, AdLevel adLevel, AdStatus adStatus, AdType adType ) : void | ||
RemoveFromDatabase ( int adId ) : void | ||
RemoveFromDatabaseByStatus ( AdStatus adStatus ) : void | ||
RemoveFromUserList ( int id ) : void | ||
RemoveListFromDatabase ( List |
||
RemoveSavedAd ( int id, int memberId ) : void | ||
SendAdInEmail ( int adId, string senderName, string senderAddress, string recipientEmail, string subject, string message ) : bool | ||
SendResponse ( int adId, string senderName, string senderAddress, string comments ) : bool | ||
UpdateAd ( int original_Id, int memberId, string title, string description, string url, decimal price, string location, bool isRelisting ) : void | ||
UpdateAdCategory ( int adId, int categoryId ) : void | ||
UpdateAdLevel ( int adId, AdLevel adLevel ) : void | ||
UpdateAdLevelList ( List |
||
UpdateAdStatus ( int adId, AdStatus adStatus ) : void | ||
UpdateAdStatusList ( List |
Метод | Описание | |
---|---|---|
AdsDB ( ) : System | ||
EscapeWildcardCharacters ( String input ) : String | ||
GetFirstRow ( AdsDataComponent table ) : AdsDataComponent.AdsRow |
public static ExpireAd ( int adId, int memberId ) : void | ||
adId | int | |
memberId | int | |
Результат | void |
public static GetActiveAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
memberId | int | |
Результат | AdsDataComponent.AdsDataTable |
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 | |
Результат | AdsDataComponent.AdsDataTable |
public static GetAdById ( int adId ) : AdsDataComponent.AdsRow | ||
adId | int | |
Результат | AdsDataComponent.AdsRow |
public static GetAdsByQuery ( int recordLimit, int categoryId, int memberId, decimal maxPrice, string searchTerm, string location, int adType, int adStatus, int adLevel, int dayRange, bool mustHaveImage ) : AdsDataComponent.AdsDataTable | ||
recordLimit | int | |
categoryId | int | |
memberId | int | |
maxPrice | decimal | |
searchTerm | string | |
location | string | |
adType | int | |
adStatus | int | |
adLevel | int | |
dayRange | int | |
mustHaveImage | bool | |
Результат | AdsDataComponent.AdsDataTable |
public static GetAdsByStatus ( AdStatus adStatus ) : AdsDataComponent.AdsDataTable | ||
adStatus | AdStatus | |
Результат | AdsDataComponent.AdsDataTable |
public static GetAdsByStatus ( AdStatus adStatus, int memberId ) : AdsDataComponent.AdsDataTable | ||
adStatus | AdStatus | |
memberId | int | |
Результат | AdsDataComponent.AdsDataTable |
public static GetFeaturedAdsSelection ( int maxNumAds ) : AdsDataComponent.AdsDataTable | ||
maxNumAds | int | |
Результат | AdsDataComponent.AdsDataTable |
public static GetInactiveAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
memberId | int | |
Результат | AdsDataComponent.AdsDataTable |
public static GetPendingAds ( ) : AdsDataComponent.AdsDataTable | ||
Результат | AdsDataComponent.AdsDataTable |
public static GetPendingAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
memberId | int | |
Результат | AdsDataComponent.AdsDataTable |
public static GetSavedAds ( int memberId ) : AdsDataComponent.AdsDataTable | ||
memberId | int | |
Результат | AdsDataComponent.AdsDataTable |
public static IncrementResponseCount ( int adId ) : void | ||
adId | int | |
Результат | void |
public static IncrementViewCount ( int adId ) : void | ||
adId | int | |
Результат | void |
public static InsertAd ( int memberId, int categoryId, string title, string description, string url, decimal price, string location, int numDaysActive, AdLevel adLevel, AdStatus adStatus, AdType adType ) : int | ||
memberId | int | |
categoryId | int | |
title | string | |
description | string | |
url | string | |
price | decimal | |
location | string | |
numDaysActive | int | |
adLevel | AdLevel | |
adStatus | AdStatus | |
adType | AdType | |
Результат | int |
public static InsertSavedAd ( int adId, int memberId ) : void | ||
adId | int | |
memberId | int | |
Результат | void |
public static InsertSavedAdList ( List |
||
adIds | List |
|
memberId | int | |
Результат | void |
public static MoveAdsToCategory ( int currentCategoryId, int newCategoryId ) : void | ||
currentCategoryId | int | |
newCategoryId | int | |
Результат | void |
public static RelistAd ( int adId, int categoryId, string title, string description, string url, decimal price, string location, int numDaysActive, AdLevel adLevel, AdStatus adStatus, AdType adType ) : void | ||
adId | int | |
categoryId | int | |
title | string | |
description | string | |
url | string | |
price | decimal | |
location | string | |
numDaysActive | int | |
adLevel | AdLevel | |
adStatus | AdStatus | |
adType | AdType | |
Результат | void |
public static RemoveFromDatabase ( int adId ) : void | ||
adId | int | |
Результат | void |
public static RemoveFromDatabaseByStatus ( AdStatus adStatus ) : void | ||
adStatus | AdStatus | |
Результат | void |
public static RemoveFromUserList ( int id ) : void | ||
id | int | |
Результат | void |
public static RemoveListFromDatabase ( List |
||
adIds | List |
|
Результат | void |
public static RemoveSavedAd ( int id, int memberId ) : void | ||
id | int | |
memberId | int | |
Результат | void |
public static SendAdInEmail ( int adId, string senderName, string senderAddress, string recipientEmail, string subject, string message ) : bool | ||
adId | int | |
senderName | string | |
senderAddress | string | |
recipientEmail | string | |
subject | string | |
message | string | |
Результат | bool |
public static SendResponse ( int adId, string senderName, string senderAddress, string comments ) : bool | ||
adId | int | |
senderName | string | |
senderAddress | string | |
comments | string | |
Результат | bool |
public static UpdateAd ( int original_Id, int memberId, string title, string description, string url, decimal price, string location, bool isRelisting ) : void | ||
original_Id | int | |
memberId | int | |
title | string | |
description | string | |
url | string | |
price | decimal | |
location | string | |
isRelisting | bool | |
Результат | void |
public static UpdateAdCategory ( int adId, int categoryId ) : void | ||
adId | int | |
categoryId | int | |
Результат | void |
public static UpdateAdLevel ( int adId, AdLevel adLevel ) : void | ||
adId | int | |
adLevel | AdLevel | |
Результат | void |
public static UpdateAdLevelList ( List |
||
adIds | List |
|
adLevel | AdLevel | |
Результат | void |
public static UpdateAdStatus ( int adId, AdStatus adStatus ) : void | ||
adId | int | |
adStatus | AdStatus | |
Результат | void |
public static UpdateAdStatusList ( List |
||
adIds | List |
|
adStatus | AdStatus | |
Результат | void |