DataObjectSelector Class

Enables getting data source–specific metadata about objects from the object store. The source of the object store is the data object support XML file.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

public abstract class DataObjectSelector : DataSiteableObject<IVsDataConnection>, 
	IVsDataObjectSelector, IVsDataSupportObject<IVsDataObjectSelector>

The DataObjectSelector type exposes the following members.

  NameDescription
Protected methodDataObjectSelector()Initializes a new instance of the DataObjectSelector class.
Protected methodDataObjectSelector(IVsDataConnection)Initializes a new instance of the DataObjectSelector class with the data connection object.
Top

  NameDescription
Public propertySiteGets or sets the object site. (Inherited from DataSiteableObject<T>.)
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetExpensiveProperties(String)Retrieves a list of expensive properties from the object store.
Protected methodGetExpensiveProperties(String, Object[])Retrieves a list of expensive properties from the object store.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodStatic memberGetMappingsReturns key/value pairs of mapped property names and their corresponding data source–specific property names.
Public methodGetOrdering(String)Returns the ordering for the specified type as a string of comma-delimited data object names, which specifies the sort order of the data objects returned when objects are selected.
Protected methodGetOrdering(String, Object[])Returns the ordering for the specified type as a string of comma-delimited data object names, which specifies the sort order of the data objects returned when objects are selected.
Public methodGetRequiredRestrictions(String)Retrieves a list of the restrictions that are required when data objects are selected for the specified type.
Protected methodGetRequiredRestrictions(String, Object[])Retrieves a list of the restrictions that are required when data objects are selected for the specified type.
Public methodGetSupportedRestrictions(String)Retrieves all the restrictions that are supported when data objects are selected for the specified type.
Protected methodGetSupportedRestrictions(String, Object[])Retrieves all the restrictions that are supported when data objects are selected for the specified type.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnSiteChangedRaises the SiteChanged event. (Inherited from DataSiteableObject<T>.)
Public methodSelectObjects(String, Object[], String[])Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions and properties.
Protected methodSelectObjects(String, Object[], String[], Object[])Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions, properties, and parameters.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventSiteChangedOccurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft