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.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataConnection>
Microsoft.VisualStudio.Data.Framework.DataObjectSelector
Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetObjectSelector
Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetRootObjectSelector
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public MustInherit Class DataObjectSelector _
Inherits DataSiteableObject(Of IVsDataConnection) _
Implements IVsDataObjectSelector, IVsDataSupportObject(Of IVsDataObjectSelector)
public abstract class DataObjectSelector : DataSiteableObject<IVsDataConnection>,
IVsDataObjectSelector, IVsDataSupportObject<IVsDataObjectSelector>
public ref class DataObjectSelector abstract : public DataSiteableObject<IVsDataConnection^>,
IVsDataObjectSelector, IVsDataSupportObject<IVsDataObjectSelector^>
[<AbstractClass>]
type DataObjectSelector =
class
inherit DataSiteableObject<IVsDataConnection>
interface IVsDataObjectSelector
interface IVsDataSupportObject<IVsDataObjectSelector>
end
public abstract class DataObjectSelector extends DataSiteableObject<IVsDataConnection> implements IVsDataObjectSelector, IVsDataSupportObject<IVsDataObjectSelector>
The DataObjectSelector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataObjectSelector() | Initializes a new instance of the DataObjectSelector class. | |
DataObjectSelector(IVsDataConnection) | Initializes a new instance of the DataObjectSelector class with the data connection object. |
Top
Properties
Name | Description | |
---|---|---|
Site | Gets or sets the object site. (Inherited from DataSiteableObject<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetExpensiveProperties(String) | Retrieves a list of expensive properties from the object store. | |
GetExpensiveProperties(String, array<Object[]) | Retrieves a list of expensive properties from the object store. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMappings | Returns key/value pairs of mapped property names and their corresponding data source–specific property names. | |
GetOrdering(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. | |
GetOrdering(String, array<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. | |
GetRequiredRestrictions(String) | Retrieves a list of the restrictions that are required when data objects are selected for the specified type. | |
GetRequiredRestrictions(String, array<Object[]) | Retrieves a list of the restrictions that are required when data objects are selected for the specified type. | |
GetSupportedRestrictions(String) | Retrieves all the restrictions that are supported when data objects are selected for the specified type. | |
GetSupportedRestrictions(String, array<Object[]) | Retrieves all the restrictions that are supported when data objects are selected for the specified type. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSiteChanged | Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.) | |
SelectObjects(String, array<Object[], array<String[]) | Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions and properties. | |
SelectObjects(String, array<Object[], array<String[], array<Object[]) | Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions, properties, and parameters. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
SiteChanged | Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsDataSupportObject<IVsDataObjectSelector>.Invoke | Invokes the specified method. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.