Click or drag to resize

MySqlPersonalizationProvider Class

Implementation for Personalization Provider to use web parts in ASP.NET websites.
Inheritance Hierarchy

Namespace:  MySql.Web.Personalization
Assembly:  MySql.Web (in MySql.Web.dll) Version: 8.0.22
Syntax
public class MySqlPersonalizationProvider : PersonalizationProvider

The MySqlPersonalizationProvider type exposes the following members.

Constructors
  NameDescription
Public methodMySqlPersonalizationProvider
Initializes a new instance of the MySqlPersonalizationProvider class
Top
Properties
  NameDescription
Public propertyApplicationName
Gets or sets the application name.
(Overrides PersonalizationProviderApplicationName.)
Public propertyDescription
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public propertyName
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Top
Methods
  NameDescription
Protected methodCreateSupportedUserCapabilities
Returns a list of WebPartUserCapability objects that represent the set of known capabilities used by the Web Parts control set.
(Inherited from PersonalizationProvider.)
Public methodDetermineInitialScope
Determines whether the initial personalization scope should be Shared or User scope.
(Inherited from PersonalizationProvider.)
Public methodDetermineUserCapabilities
Returns a dictionary containing WebPartUserCapability instances that represent the personalization-related capabilities of the currently executing user account.
(Inherited from PersonalizationProvider.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindState
Returns a collection of PersonalizationStateInfo objects containing administrative information regarding records in the database that match the specified criteria.
(Overrides PersonalizationProviderFindState(PersonalizationScope, PersonalizationStateQuery, Int32, Int32, Int32).)
Public methodGetCountOfState
Returns the number of records in the database that match the specified criteria.
(Overrides PersonalizationProviderGetCountOfState(PersonalizationScope, PersonalizationStateQuery).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes settings values for Personalization Provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
Protected methodLoadPersonalizationBlobs
Retrieves personalization state as opaque blobs from the data source.
(Overrides PersonalizationProviderLoadPersonalizationBlobs(WebPartManager, String, String, Byte, Byte).)
Public methodLoadPersonalizationState
Loads the raw data from the underlying data store and converts that data into a PersonalizationState object.
(Inherited from PersonalizationProvider.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodResetPersonalizationBlob
Deletes personalization state corresponding to a specified user and a specified page from the database.
(Overrides PersonalizationProviderResetPersonalizationBlob(WebPartManager, String, String).)
Public methodResetPersonalizationState
Resets personalization data to the underlying data store.
(Inherited from PersonalizationProvider.)
Public methodResetState
Deletes personalization state corresponding to the specified users and specified pages from the database.
(Overrides PersonalizationProviderResetState(PersonalizationScope, String, String).)
Public methodResetUserState
Deletes user personalization state corresponding to the specified pages and that hasn't been updated since a specified date from the database.
(Overrides PersonalizationProviderResetUserState(String, DateTime).)
Protected methodSavePersonalizationBlob
Writes personalization state corresponding to a specified user and a specified page as an opaque blob to the database.
(Overrides PersonalizationProviderSavePersonalizationBlob(WebPartManager, String, String, Byte).)
Public methodSavePersonalizationState
Saves personalization data to a data store.
(Inherited from PersonalizationProvider.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also