Compartir a través de


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

'Declaración
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
Protected method DataObjectSelector() Initializes a new instance of the DataObjectSelector class.
Protected method DataObjectSelector(IVsDataConnection) Initializes a new instance of the DataObjectSelector class with the data connection object.

Top

Properties

  Name Description
Public property Site Gets or sets the object site. (Inherited from DataSiteableObject<T>.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetExpensiveProperties(String) Retrieves a list of expensive properties from the object store.
Protected method GetExpensiveProperties(String, array<Object[]) Retrieves a list of expensive properties from the object store.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected methodStatic member GetMappings Returns key/value pairs of mapped property names and their corresponding data source–specific property names.
Public method 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.
Protected method 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.
Public method GetRequiredRestrictions(String) Retrieves a list of the restrictions that are required when data objects are selected for the specified type.
Protected method GetRequiredRestrictions(String, array<Object[]) Retrieves a list of the restrictions that are required when data objects are selected for the specified type.
Public method GetSupportedRestrictions(String) Retrieves all the restrictions that are supported when data objects are selected for the specified type.
Protected method GetSupportedRestrictions(String, array<Object[]) Retrieves all the restrictions that are supported when data objects are selected for the specified type.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSiteChanged Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.)
Public method 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.
Protected method 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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event SiteChanged Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.Data.Framework Namespace