Share via


SchemaCompareFileBasedModelProvider Class

Provides a class for a file-based model provider to compare schemas 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.SchemaCompareFileBasedModelProvider

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

Syntax

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

The SchemaCompareFileBasedModelProvider type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Protected property Canceled (Inherited from SchemaCompareModelProviderBase.)
Public property ConnectionType Gets the type of connection. (Overrides SchemaCompareModelProviderBase.ConnectionType.)
Public property DatabaseFileName Gets or sets the file name for the database.
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. The set procedure is protected. (Inherited from SchemaCompareModelProviderBase.)
Public property ModelInformation Gets the model information for the current model provider. (Overrides SchemaCompareModelProviderBase.ModelInformation.)
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 (Inherited from SchemaCompareModelProviderBase.)
Public method Deserialize Deserializes the state of the current provider from the given XML node. (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 provided compare model provider is compatible with the current 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 provided compare model provider is based on the same template. (Overrides SchemaCompareModelProviderBase.IsEqualTemplate(ISchemaCompareModelProvider).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResetCancel (Inherited from SchemaCompareModelProviderBase.)
Public method Serialize Serializes the current object to the provided parent 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 file name refers to an existing file, and if not, returns an error message. (Overrides SchemaCompareModelProviderBase.Validate(String%).)

Top

Fields

  Name Description
Public fieldStatic member FileBasedModelProviderElementName Returns "FileBasedModelProvider".

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