Udostępnij za pośrednictwem


AdoDotNetObjectIdentifierConverter Class

Definition

Provides an implementation of the DataObjectIdentifierConverter class using information supplied by an ADO.NET provider, including DataSourceInformation property values and the DbCommandBuilder, QuoteIdentifier(String), and UnquoteIdentifier(String)methods.

public ref class AdoDotNetObjectIdentifierConverter : Microsoft::VisualStudio::Data::DataObjectIdentifierConverter
public class AdoDotNetObjectIdentifierConverter : Microsoft.VisualStudio.Data.DataObjectIdentifierConverter
type AdoDotNetObjectIdentifierConverter = class
    inherit DataObjectIdentifierConverter
Public Class AdoDotNetObjectIdentifierConverter
Inherits DataObjectIdentifierConverter
Inheritance
AdoDotNetObjectIdentifierConverter

Constructors

AdoDotNetObjectIdentifierConverter(DataConnection)

Class constructor. Initializes a new instance of the xx class, providing a DataConnection object to the data source.

Methods

BuildString(String, String[], Boolean)

Builds a string version of an identifier.

(Inherited from DataObjectIdentifierConverter)
ConvertToArray(String, String)

Converts a formatted string identifier into its equivalent set of identifier parts.

(Inherited from DataObjectIdentifierConverter)
ConvertToString(String, Object[], DataObjectIdentifierFormat)

Converts a set of identifier parts into a formatted string identifier based on the specified formatting options.

(Inherited from DataObjectIdentifierConverter)
FormatPart(String, Object, Boolean)

Formats a specified identifier part; where the with Quotes parameter is true, this method calls the QuoteIdentifier(String) method.

SplitIntoParts(String, String)

Retrieves the composite identifier separator pattern from the ADO.NET provider's data source information and calls the Split(String) method with this value and the input string.

UnformatPart(String, String)

Calls the UnquoteIdentifier(String) method.

Applies to