Share via


AdoDotNetObjectSelector Class

Provides an implementation of the IVsDataObjectSelector interface using the ADO.NET GetSchema method.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataConnection>
    Microsoft.VisualStudio.Data.Framework.DataObjectSelector
      Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetObjectSelector

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

Syntax

'Declaration
Public Class AdoDotNetObjectSelector _
    Inherits DataObjectSelector
public class AdoDotNetObjectSelector : DataObjectSelector
public ref class AdoDotNetObjectSelector : public DataObjectSelector
type AdoDotNetObjectSelector =  
    class 
        inherit DataObjectSelector 
    end
public class AdoDotNetObjectSelector extends DataObjectSelector

The AdoDotNetObjectSelector type exposes the following members.

Constructors

  Name Description
Public method AdoDotNetObjectSelector() Initializes a new instance of the AdoDotNetObjectSelector class.
Public method AdoDotNetObjectSelector(IVsDataConnection) Initializes a new instance of the AdoDotNetObjectSelector 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
Protected methodStatic member ApplyMappings Applies the selector mappings.
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. (Inherited from DataObjectSelector.)
Protected method GetExpensiveProperties(String, array<Object[]) Retrieves a list of expensive properties from the object store. (Inherited from DataObjectSelector.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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. (Inherited from DataObjectSelector.)
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. (Inherited from DataObjectSelector.)
Public method GetRequiredRestrictions(String) Retrieves a list of the restrictions that are required when data objects are selected for the specified type. (Inherited from DataObjectSelector.)
Protected method GetRequiredRestrictions(String, array<Object[]) Retrieves a list of the restrictions that are required when data objects are selected for the specified type. (Inherited from DataObjectSelector.)
Public method GetSupportedRestrictions(String) Retrieves all the restrictions that are supported when data objects are selected for the specified type. (Inherited from DataObjectSelector.)
Protected method GetSupportedRestrictions(String, array<Object[]) Retrieves all the restrictions that are supported when data objects are selected for the specified type. (Inherited from DataObjectSelector.)
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. (Inherited from DataObjectSelector.)
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. (Overrides DataObjectSelector.SelectObjects(String, array<Object[], array<String[], array<Object[]).)
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. (Inherited from DataObjectSelector.)

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.AdoDotNet Namespace