Méthode | Description | |
---|---|---|
CountUsersNotSubscribedByLetter ( System.Guid siteGuid, System.Guid letterInfoGuid, bool excludeIfAnyUnsubscribeHx ) : int | ||
Create ( System.Guid guid, System.Guid siteGuid, System.Guid letterInfoGuid, System.Guid userGuid, string email, bool isVerified, System.Guid verifyGuid, System.DateTime beginUtc, bool useHtml, string ipAddress ) : int |
Inserts a row in the mp_LetterSubscribe table. Returns rows affected count.
|
|
CreateHistory ( System.Guid rowGuid, System.Guid siteGuid, System.Guid subscribeGuid, System.Guid letterInfoGuid, System.Guid userGuid, string email, bool isVerified, bool useHtml, System.DateTime beginUtc, System.DateTime endUtc, string ipAddress ) : int |
Inserts a row in the mp_LetterSubscribeHx table. Returns rows affected count.
|
|
Delete ( System.Guid guid ) : bool |
Deletes a row from the mp_LetterSubscribe table. Returns true if row deleted.
|
|
DeleteByLetter ( System.Guid letterInfoGuid ) : bool |
Deletes a row from the mp_LetterSubscribe table. Returns true if row deleted.
|
|
DeleteBySite ( System.Guid siteGuid ) : bool |
Deletes a row from the mp_LetterSubscribe table. Returns true if row deleted.
|
|
DeleteByUser ( System.Guid userGuid ) : bool | ||
DeleteHistoryByLetterInfo ( System.Guid letterInfoGuid ) : bool | ||
DeleteHistoryBySite ( System.Guid siteGuid ) : bool | ||
DeleteUnverified ( System.Guid letterInfoGuid, System.DateTime olderThanUtc ) : bool | ||
Exists ( System.Guid letterInfoGuid, string email ) : bool |
Gets a count of rows in the mp_LetterSubscribe table.
|
|
GetByEmail ( System.Guid siteGuid, System.Guid letterInfoGuid, string email ) : IDataReader | ||
GetByEmail ( System.Guid siteGuid, string email ) : IDataReader |
Gets an IDataReader with one row from the mp_LetterSubscribe table.
|
|
GetByLetter ( System.Guid letterInfoGuid ) : IDataReader |
Gets an IDataReader with one row from the mp_LetterSubscribe table.
|
|
GetByUser ( System.Guid siteGuid, System.Guid userGuid ) : IDataReader |
Gets an IDataReader with one row from the mp_LetterSubscribe table.
|
|
GetCountByLetter ( System.Guid letterInfoGuid ) : int |
Gets a count of rows in the mp_LetterSubscribe table.
|
|
GetOne ( System.Guid guid ) : IDataReader |
Gets an IDataReader with one row from the mp_LetterSubscribe table.
|
|
GetPage ( System.Guid letterInfoGuid, int pageNumber, int pageSize, int &totalPages ) : IDataReader |
Gets a page of data from the mp_LetterSubscriber table.
|
|
GetSubscribersNotSentYet ( System.Guid letterGuid, System.Guid letterInfoGuid ) : IDataReader |
Gets an IDataReader from the mp_LetterSubscriber table.
|
|
GetTop1000UsersNotSubscribed ( System.Guid siteGuid, System.Guid letterInfoGuid, bool excludeIfAnyUnsubscribeHx ) : IDataReader | ||
Search ( System.Guid letterInfoGuid, string emailOrIpAddress ) : IDataReader | ||
Update ( System.Guid guid, System.Guid userGuid, bool useHtml ) : bool |
Updates a row in the mp_LetterSubscribe table. Returns true if row updated.
|
|
Verify ( System.Guid guid, bool isVerified, System.Guid verifyGuid ) : bool |
Méthode | Description | |
---|---|---|
GetConnectionString ( ) : String |
public static CountUsersNotSubscribedByLetter ( System.Guid siteGuid, System.Guid letterInfoGuid, bool excludeIfAnyUnsubscribeHx ) : int | ||
siteGuid | System.Guid | |
letterInfoGuid | System.Guid | |
excludeIfAnyUnsubscribeHx | bool | |
Résultat | int |
public static Create ( System.Guid guid, System.Guid siteGuid, System.Guid letterInfoGuid, System.Guid userGuid, string email, bool isVerified, System.Guid verifyGuid, System.DateTime beginUtc, bool useHtml, string ipAddress ) : int | ||
guid | System.Guid | guid |
siteGuid | System.Guid | siteGuid |
letterInfoGuid | System.Guid | letterInfoGuid |
userGuid | System.Guid | userGuid |
string | ||
isVerified | bool | isVerified |
verifyGuid | System.Guid | verifyGuid |
beginUtc | System.DateTime | beginUtc |
useHtml | bool | useHtml |
ipAddress | string | |
Résultat | int |
public static CreateHistory ( System.Guid rowGuid, System.Guid siteGuid, System.Guid subscribeGuid, System.Guid letterInfoGuid, System.Guid userGuid, string email, bool isVerified, bool useHtml, System.DateTime beginUtc, System.DateTime endUtc, string ipAddress ) : int | ||
rowGuid | System.Guid | rowGuid |
siteGuid | System.Guid | siteGuid |
subscribeGuid | System.Guid | subscribeGuid |
letterInfoGuid | System.Guid | letterInfoGuid |
userGuid | System.Guid | userGuid |
string | ||
isVerified | bool | isVerified |
useHtml | bool | useHtml |
beginUtc | System.DateTime | beginUtc |
endUtc | System.DateTime | endUtc |
ipAddress | string | |
Résultat | int |
public static Delete ( System.Guid guid ) : bool | ||
guid | System.Guid | guid |
Résultat | bool |
public static DeleteByLetter ( System.Guid letterInfoGuid ) : bool | ||
letterInfoGuid | System.Guid | |
Résultat | bool |
public static DeleteBySite ( System.Guid siteGuid ) : bool | ||
siteGuid | System.Guid | |
Résultat | bool |
public static DeleteByUser ( System.Guid userGuid ) : bool | ||
userGuid | System.Guid | |
Résultat | bool |
public static DeleteHistoryByLetterInfo ( System.Guid letterInfoGuid ) : bool | ||
letterInfoGuid | System.Guid | |
Résultat | bool |
public static DeleteHistoryBySite ( System.Guid siteGuid ) : bool | ||
siteGuid | System.Guid | |
Résultat | bool |
public static DeleteUnverified ( System.Guid letterInfoGuid, System.DateTime olderThanUtc ) : bool | ||
letterInfoGuid | System.Guid | |
olderThanUtc | System.DateTime | |
Résultat | bool |
public static Exists ( System.Guid letterInfoGuid, string email ) : bool | ||
letterInfoGuid | System.Guid | |
string | ||
Résultat | bool |
public static GetByEmail ( System.Guid siteGuid, System.Guid letterInfoGuid, string email ) : IDataReader | ||
siteGuid | System.Guid | |
letterInfoGuid | System.Guid | |
string | ||
Résultat | IDataReader |
public static GetByEmail ( System.Guid siteGuid, string email ) : IDataReader | ||
siteGuid | System.Guid | |
string | ||
Résultat | IDataReader |
public static GetByLetter ( System.Guid letterInfoGuid ) : IDataReader | ||
letterInfoGuid | System.Guid | |
Résultat | IDataReader |
public static GetByUser ( System.Guid siteGuid, System.Guid userGuid ) : IDataReader | ||
siteGuid | System.Guid | |
userGuid | System.Guid | |
Résultat | IDataReader |
public static GetCountByLetter ( System.Guid letterInfoGuid ) : int | ||
letterInfoGuid | System.Guid | |
Résultat | int |
public static GetOne ( System.Guid guid ) : IDataReader | ||
guid | System.Guid | guid |
Résultat | IDataReader |
public static GetPage ( System.Guid letterInfoGuid, int pageNumber, int pageSize, int &totalPages ) : IDataReader | ||
letterInfoGuid | System.Guid | letterGuid |
pageNumber | int | The page number. |
pageSize | int | Size of the page. |
totalPages | int | total pages |
Résultat | IDataReader |
public static GetSubscribersNotSentYet ( System.Guid letterGuid, System.Guid letterInfoGuid ) : IDataReader | ||
letterGuid | System.Guid | |
letterInfoGuid | System.Guid | letterInfoGuid |
Résultat | IDataReader |
public static GetTop1000UsersNotSubscribed ( System.Guid siteGuid, System.Guid letterInfoGuid, bool excludeIfAnyUnsubscribeHx ) : IDataReader | ||
siteGuid | System.Guid | |
letterInfoGuid | System.Guid | |
excludeIfAnyUnsubscribeHx | bool | |
Résultat | IDataReader |
public static Search ( System.Guid letterInfoGuid, string emailOrIpAddress ) : IDataReader | ||
letterInfoGuid | System.Guid | |
emailOrIpAddress | string | |
Résultat | IDataReader |
public static Update ( System.Guid guid, System.Guid userGuid, bool useHtml ) : bool | ||
guid | System.Guid | guid |
userGuid | System.Guid | |
useHtml | bool | useHtml |
Résultat | bool |
public static Verify ( System.Guid guid, bool isVerified, System.Guid verifyGuid ) : bool | ||
guid | System.Guid | |
isVerified | bool | |
verifyGuid | System.Guid | |
Résultat | bool |