AdoDotNetObjectIdentifierConverter Class

Definition

Represents an implementation of the IVsDataObjectIdentifierConverter interface using the ADO .NET DataSourceInformation metadata collection.

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

Constructors

AdoDotNetObjectIdentifierConverter()

Initializes a new instance of the AdoDotNetObjectIdentifierConverter class.

AdoDotNetObjectIdentifierConverter(IVsDataConnection)

Initializes a new instance of the AdoDotNetObjectIdentifierConverter class with the specified data connection object.

Properties

CompositeIdentifierSeparator

Gets the identifier separator. By default, it is set to the dot character.

Site

Gets or sets the object site.

(Inherited from DataSiteableObject<T>)

Methods

BuildString(String, String[], DataObjectIdentifierFormat)

Concatenates identifier parts into a string and inserts the separator character in between.

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, using the specified formatting option.

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

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

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

By default, adds quotation marks to the identifier part if the format parameter reveals that quotation marks are required. Override to customize the formatting that is added to the identifier part.

OnSiteChanged(EventArgs)

Handles the SiteChanged event.

RequiresQuoting(String)

Indicates whether the specified identifier part requires quotation marks.

SplitIntoParts(String, String)

Divides the specified string version of an identifier into a set of formatted identifier parts by using the identifier separator character.

UnformatPart(String, String)

Removes formatting of identifier parts, such as trimming leading and trailing spaces and removing quotation marks.

Events

SiteChanged

Occurs when the Site property is changed.

(Inherited from DataSiteableObject<T>)

Applies to