Share via


AdoDotNetRootObjectSelector Class

Enables getting root object properties, namely data source connection properties and some ADO.NET DbConnection properties.

Inheritance Hierarchy

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

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

Syntax

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

The AdoDotNetRootObjectSelector type exposes the following members.

Constructors

  Name Description
Public method AdoDotNetRootObjectSelector Initializes a new instance of the AdoDotNetRootObjectSelector class.

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 mapping using the specified data table.
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 root object properties, such as the non-sensitive connection properties and some DbConnection properties, through a data reader. (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