SchemaCompareConnectionBasedModelProvider Class

Provides a class for connection-based schema compare model provider objects that are used in the Schema Compare window of Visual Studio Premium and Visual Studio Ultimate.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelProviderBase
    Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareConnectionBasedModelProvider

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Class SchemaCompareConnectionBasedModelProvider _
    Inherits SchemaCompareModelProviderBase
public class SchemaCompareConnectionBasedModelProvider : SchemaCompareModelProviderBase
public ref class SchemaCompareConnectionBasedModelProvider : public SchemaCompareModelProviderBase
type SchemaCompareConnectionBasedModelProvider =  
    class
        inherit SchemaCompareModelProviderBase
    end
public class SchemaCompareConnectionBasedModelProvider extends SchemaCompareModelProviderBase

The SchemaCompareConnectionBasedModelProvider type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Protected property Canceled (Inherited from SchemaCompareModelProviderBase.)
Public property ConnectionString Gets or sets the current connection string.
Public property ConnectionType Gets the type of connection for this provider. (Overrides SchemaCompareModelProviderBase.ConnectionType.)
Public property DatabaseName Gets or sets the name of the database.
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. The set procedure is protected. (Inherited from SchemaCompareModelProviderBase.)
Public property DspFamilyName Gets or sets the data schema provider (DSP) family name for the data schema provider.
Public property ModelInformation When implemented in a derived class, gets the current model information. (Inherited from SchemaCompareModelProviderBase.)
Public property Name When implemented in a derived class, gets or sets the name of this object. (Inherited from SchemaCompareModelProviderBase.)
Public property Translator Gets or sets the current translator. (Inherited from SchemaCompareModelProviderBase.)

Top

Methods

  Name Description
Public method Cancel (Overrides SchemaCompareModelProviderBase.Cancel().)
Public method Deserialize Deserializes the settings for this object from the provided XML node and returns an error message if a problem occurs. (Overrides SchemaCompareModelProviderBase.Deserialize(XmlNode, String%).)
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsCompatible Returns a value that indicates whether the given model provider is compatible with this model provider. (Overrides SchemaCompareModelProviderBase.IsCompatible(ISchemaCompareModelProvider, String%).)
Public method IsEqual Returns a value that indicates whether the given model provider is equal to this model provider. (Inherited from SchemaCompareModelProviderBase.)
Protected method IsEqualTemplate Returns a value that indicates whether the given model provider has the same foundation as the current provider. (Overrides SchemaCompareModelProviderBase.IsEqualTemplate(ISchemaCompareModelProvider).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResetCancel (Overrides SchemaCompareModelProviderBase.ResetCancel().)
Public method Serialize Saves the state of this model provider to the given XML node. (Overrides SchemaCompareModelProviderBase.Serialize(XmlNode).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Uninitialize Called by the Schema Compare window in Visual Studio when the contents of the window is cleared. (Inherited from SchemaCompareModelProviderBase.)
Public method Validate Returns a value that indicates whether the connection string can connect to a server and database version that can be compared. (Overrides SchemaCompareModelProviderBase.Validate(String%).)

Top

Fields

  Name Description
Public fieldStatic member ConnectionBasedModelProviderElementName Returns a string that contains "ConnectionBasedModelProvider".

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.Data.Schema.Tools.Compare.Schema Namespace

SchemaCompareModelProviderBase