Share via


SchemaCompareModelProviderBase Class

Provides a base class for schema compare model provider objects that are used in the Schema Compare window of Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelProviderBase
    Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareConnectionBasedModelProvider
    Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareFileBasedModelProvider
    Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare.SchemaCompareProjectBasedModelProvider

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

Syntax

'Declaration
Public MustInherit Class SchemaCompareModelProviderBase _
    Implements ISchemaCompareModelProvider
public abstract class SchemaCompareModelProviderBase : ISchemaCompareModelProvider
public ref class SchemaCompareModelProviderBase abstract : ISchemaCompareModelProvider
[<AbstractClass>]
type SchemaCompareModelProviderBase =  
    class
        interface ISchemaCompareModelProvider
    end
public abstract class SchemaCompareModelProviderBase implements ISchemaCompareModelProvider

The SchemaCompareModelProviderBase type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Protected property Canceled
Public property ConnectionType Gets the type of connection.
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. The set procedure is protected.
Public property ModelInformation When implemented in a derived class, gets the current model information.
Public property Name When implemented in a derived class, gets or sets the name of this object.
Public property Translator Gets or sets the current translator.

Top

Methods

  Name Description
Public method Cancel
Public method Deserialize Deserializes the settings for this object from the provided XML node and returns an error message if a problem occurs.
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.)
Protected methodStatic member GetDSP Returns the current database schema provider by using the provided type.
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.
Public method IsEqual Returns a value that indicates whether the given model provider is equal to this model provider.
Protected method IsEqualTemplate When implemented in a derived class, returns a value that indicates whether the given model provider was created with the same template as this model provider.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResetCancel
Public method Serialize Saves the state of this model provider to the given XML node.
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.
Public method Validate Returns a value that indicates whether the connection string can connect to a server and database version that can be compared.

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

ISchemaCompareModelProvider