Click or drag to resize

MySqlSiteMapProvider Class

SiteMap provider backed by MySql database.
Inheritance Hierarchy

Namespace:  MySql.Web.SiteMap
Assembly:  MySql.Web (in MySql.Web.dll) Version: 8.0.22
Syntax
public class MySqlSiteMapProvider : StaticSiteMapProvider

The MySqlSiteMapProvider type exposes the following members.

Constructors
  NameDescription
Public methodMySqlSiteMapProvider
Initializes a new instance of the MySqlSiteMapProvider class
Top
Properties
  NameDescription
Public propertyCurrentNode
Gets the SiteMapNode object that represents the currently requested page.
(Inherited from SiteMapProvider.)
Public propertyDescription
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public propertyEnableLocalization
Gets or sets a Boolean value indicating whether localized values of SiteMapNode attributes are returned.
(Inherited from SiteMapProvider.)
Public propertyName
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Public propertyParentProvider
Gets or sets the parent SiteMapProvider object of the current provider.
(Inherited from SiteMapProvider.)
Public propertyResourceKey
Get or sets the resource key that is used for localizing SiteMapNode attributes.
(Inherited from SiteMapProvider.)
Public propertyRootNode
Gets the root SiteMapNode object of the site map data that the current provider represents.
(Inherited from SiteMapProvider.)
Public propertyRootProvider
Gets the root SiteMapProvider object in the current provider hierarchy.
(Inherited from SiteMapProvider.)
Public propertySecurityTrimmingEnabled
Gets a Boolean value indicating whether a site map provider filters site map nodes based on a user's role.
(Inherited from SiteMapProvider.)
Top
Methods
  NameDescription
Protected methodAddNode(SiteMapNode)
Adds a SiteMapNode object to the node collection that is maintained by the site map provider.
(Inherited from SiteMapProvider.)
Protected methodAddNode(SiteMapNode, SiteMapNode)
Adds a SiteMapNode to the collections that are maintained by the site map provider and establishes a parent/child relationship between the SiteMapNode objects.
(Inherited from StaticSiteMapProvider.)
Public methodBuildSiteMap (Overrides StaticSiteMapProviderBuildSiteMap.)
Protected methodClear
Removes all elements in the collections of child and parent site map nodes that the StaticSiteMapProvider tracks as part of its state.
(Inherited from StaticSiteMapProvider.)
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 methodFindSiteMapNode(String)
Retrieves a SiteMapNode object that represents the page at the specified URL.
(Inherited from StaticSiteMapProvider.)
Public methodFindSiteMapNode(HttpContext)
Retrieves a SiteMapNode object that represents the currently requested page using the specified HttpContext object.
(Inherited from SiteMapProvider.)
Public methodFindSiteMapNodeFromKey (Overrides StaticSiteMapProviderFindSiteMapNodeFromKey(String).)
Public methodGetChildNodes
Retrieves the child site map nodes of a specific SiteMapNode object.
(Inherited from StaticSiteMapProvider.)
Public methodGetCurrentNodeAndHintAncestorNodes
Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the parent and ancestor site map nodes for the current page.
(Inherited from SiteMapProvider.)
Public methodGetCurrentNodeAndHintNeighborhoodNodes
Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the site map nodes in the proximity of the current node.
(Inherited from SiteMapProvider.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetParentNode
Retrieves the parent site map node of a specific SiteMapNode object.
(Inherited from StaticSiteMapProvider.)
Public methodGetParentNodeRelativeToCurrentNodeAndHintDownFromParent
Provides an optimized lookup method for site map providers when retrieving an ancestor node for the currently requested page and fetching the descendant nodes for the ancestor.
(Inherited from SiteMapProvider.)
Public methodGetParentNodeRelativeToNodeAndHintDownFromParent
Provides an optimized lookup method for site map providers when retrieving an ancestor node for the specified SiteMapNode object and fetching its child nodes.
(Inherited from SiteMapProvider.)
Protected methodGetRootNodeCore (Overrides SiteMapProviderGetRootNodeCore.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHintAncestorNodes
Provides a method that site map providers can override to perform an optimized retrieval of one or more levels of parent and ancestor nodes, relative to the specified SiteMapNode object.
(Inherited from SiteMapProvider.)
Public methodHintNeighborhoodNodes
Provides a method that site map providers can override to perform an optimized retrieval of nodes found in the proximity of the specified node.
(Inherited from SiteMapProvider.)
Public methodInitialize (Overrides SiteMapProviderInitialize(String, NameValueCollection).)
Public methodIsAccessibleToUser
Retrieves a Boolean value indicating whether the specified SiteMapNode object can be viewed by the user in the specified context.
(Inherited from SiteMapProvider.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRemoveNode
Removes the specified SiteMapNode object from all site map node collections that are tracked by the site map provider.
(Inherited from StaticSiteMapProvider.)
Protected methodResolveSiteMapNode
Raises the SiteMapResolve event.
(Inherited from SiteMapProvider.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventSiteMapResolve
Occurs when the CurrentNode property is called.
(Inherited from SiteMapProvider.)
Top
See Also