Méthode | Description | |
---|---|---|
CreateNewPrivacySetting ( |
Saves a privacy setting as a new entry in the DB.
|
|
GetAllPrivacySettings ( ) : IEnumerable |
||
GetPrivacySettingFromPrivacySettingId ( int privacySettingId ) : |
Retrieves a PrivacySetting from the DB based on its ID.
|
|
GetPrivacySettingFromUserId ( int userId ) : |
Retrieves a User's PrivacySetting from the DB based on the user's ID.
|
|
RemovePrivacySettingFromPrivacySettingId ( int privacySettingId ) : bool |
Deletes an existing PrivacySetting from the DB.
|
|
UpdatePrivacySetting ( |
Updates an existing PrivacySetting in the DB.
|
public static CreateNewPrivacySetting ( |
||
privacySetting | Privacy setting object to add to the DB. | |
Résultat | int |
public static GetAllPrivacySettings ( ) : IEnumerable |
||
Résultat | IEnumerable |
public static GetPrivacySettingFromPrivacySettingId ( int privacySettingId ) : |
||
privacySettingId | int | Identifier of the privacy setting to retrieve. |
Résultat |
public static GetPrivacySettingFromUserId ( int userId ) : |
||
userId | int | |
Résultat |
public static RemovePrivacySettingFromPrivacySettingId ( int privacySettingId ) : bool | ||
privacySettingId | int | ID for the PrivacySetting whose record needs to be removed. |
Résultat | bool |
public static UpdatePrivacySetting ( |
||
privacySetting | PrivacySetting whose record needs updating. | |
Résultat | bool |