Share via


AdoDotNetObjectIdentifierConverter Class

Provides an implementation of the DataObjectIdentifierConverter class using information supplied by an ADO.NET provider, including DataSourceInformation property values and the DbCommandBuilder, QuoteIdentifier, and UnquoteIdentifiermethods.

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

Syntax

'Declaration
Public Class AdoDotNetObjectIdentifierConverter _
    Inherits DataObjectIdentifierConverter
'Usage
Dim instance As AdoDotNetObjectIdentifierConverter
public class AdoDotNetObjectIdentifierConverter : DataObjectIdentifierConverter
public ref class AdoDotNetObjectIdentifierConverter : public DataObjectIdentifierConverter
public class AdoDotNetObjectIdentifierConverter extends DataObjectIdentifierConverter

Remarks

Typically the identifier of some object on a data source consists of some string that is used in commands that get executed. For example, in the SQL statement, SELECT * FROM mytable, the string "mytable" is a unique identifier of an object in the context under which the statement is running.

Typically a data source has some kind of containment mechanism for objects, such as a catalog, schema, or package. This introduces the need for multi-part identifiers, as a single name no longer suffices for uniquely identifying objects. For example, an Oracle server groups different objects under different users, causing the unique identifier of an object to be qualified with a user name.

Since the format of such multi-part identifiers can vary from one data source to another, there has to be a way to convert a given string into its set of parts and vice versa. For this reason, Visual Studio can expose objects in the same groups of containment to a user. This class provides such a mechanism.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataObjectIdentifierConverter
    Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetObjectIdentifierConverter

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

AdoDotNetObjectIdentifierConverter Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace

DataSourceInformation