共用方式為


DataObjectRestrictionMapper Class

Definition

Provides a way to customize mappings from generic restrictions to data-source-specific restrictions.

public ref class DataObjectRestrictionMapper abstract : Microsoft::VisualStudio::Data::ObjectWithSite
public abstract class DataObjectRestrictionMapper : Microsoft.VisualStudio.Data.ObjectWithSite
type DataObjectRestrictionMapper = class
    inherit ObjectWithSite
Public MustInherit Class DataObjectRestrictionMapper
Inherits ObjectWithSite
Inheritance
DataObjectRestrictionMapper

Constructors

DataObjectRestrictionMapper()

Class constructor. Instantiates a new instance of the DataObjectRestrictionMapper class.

Properties

Connection

Retrieves the DataConnection object instance for the current connection.

Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

MapValuesToRestriction(String, Int32, Object[])

Maps a set of generic restrictions to a data-source-specific restriction.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)

Events

SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to