DataConnectionEquivalencyComparer Class
Provides the ability to compare data connection properties for equivalence.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataProvider>
Microsoft.VisualStudio.Data.Framework.DataConnectionEquivalencyComparer
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Class DataConnectionEquivalencyComparer _
Inherits DataSiteableObject(Of IVsDataProvider) _
Implements IVsDataConnectionEquivalencyComparer, IVsDataSiteableObject(Of IVsDataSource)
public class DataConnectionEquivalencyComparer : DataSiteableObject<IVsDataProvider>,
IVsDataConnectionEquivalencyComparer, IVsDataSiteableObject<IVsDataSource>
public ref class DataConnectionEquivalencyComparer : public DataSiteableObject<IVsDataProvider^>,
IVsDataConnectionEquivalencyComparer, IVsDataSiteableObject<IVsDataSource^>
type DataConnectionEquivalencyComparer =
class
inherit DataSiteableObject<IVsDataProvider>
interface IVsDataConnectionEquivalencyComparer
interface IVsDataSiteableObject<IVsDataSource>
end
public class DataConnectionEquivalencyComparer extends DataSiteableObject<IVsDataProvider> implements IVsDataConnectionEquivalencyComparer, IVsDataSiteableObject<IVsDataSource>
The DataConnectionEquivalencyComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataConnectionEquivalencyComparer | Initializes a new instance of the DataConnectionEquivalencyComparer class. |
Top
Properties
Name | Description | |
---|---|---|
Site | Gets or sets the object site. (Inherited from DataSiteableObject<T>.) |
Top
Methods
Name | Description | |
---|---|---|
AreEquivalent(String, String) | Compares the specified connection strings to determine whether they are equivalent and hence provide the same design-time experience. | |
AreEquivalent(IVsDataConnectionProperties, IVsDataConnectionProperties) | Compares the specified connection property objects to determine whether they are equivalent and hence provide the same design-time experience. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSiteChanged | Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
SiteChanged | Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsDataSiteableObject<IVsDataSource>.Site | Gets the data source. |
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.