SchemaCompareProjectBasedModelProvider Class

Used by Schema Compare when one or more of the schemas that are compared are database or server projects.

This API is not CLS-compliant. 

Inheritance Hierarchy

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

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class SchemaCompareProjectBasedModelProvider _
    Inherits SchemaCompareModelProviderBase
[CLSCompliantAttribute(false)]
public class SchemaCompareProjectBasedModelProvider : SchemaCompareModelProviderBase
[CLSCompliantAttribute(false)]
public ref class SchemaCompareProjectBasedModelProvider : public SchemaCompareModelProviderBase
[<CLSCompliantAttribute(false)>]
type SchemaCompareProjectBasedModelProvider =  
    class
        inherit SchemaCompareModelProviderBase
    end
public class SchemaCompareProjectBasedModelProvider extends SchemaCompareModelProviderBase

The SchemaCompareProjectBasedModelProvider type exposes the following members.

Constructors

  Name Description
Public method SchemaCompareProjectBasedModelProvider() Initializes a new instance of the SchemaCompareProjectBasedModelProvider class.
Public method SchemaCompareProjectBasedModelProvider(IDatabaseProjectNode, Guid) Initializes a new instance of the SchemaCompareProjectBasedModelProvider class.

Top

Properties

  Name Description
Protected property Canceled (Inherited from SchemaCompareModelProviderBase.)
Public property ConnectionType Gets the type of connection associated with this provider. (Overrides SchemaCompareModelProviderBase.ConnectionType.)
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. The set procedure is protected. (Inherited from SchemaCompareModelProviderBase.)
Public property ModelInformation (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 ProjectGuid Gets the GUID of the project for this provider.
Public property ProjectNode Gets the project node for this provider.
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 specified XML node and its children. (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 Determines whether the specified model provider is compatible with this schema compare provider. (Overrides SchemaCompareModelProviderBase.IsCompatible(ISchemaCompareModelProvider, String%).)
Public method IsEqual Determines whether two providers are equal. (Overrides SchemaCompareModelProviderBase.IsEqual(ISchemaCompareModelProvider).)
Protected method IsEqualTemplate Determines whether two providers have the same template. (Overrides SchemaCompareModelProviderBase.IsEqualTemplate(ISchemaCompareModelProvider).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReconnectToProjectNode If the project is closed, the project node of this model provider is nulled out. If the user hits refresh, you must reconnect.
Public method ResetCancel (Inherited from SchemaCompareModelProviderBase.)
Public method Serialize Serializes the specified XML node and its children. (Overrides SchemaCompareModelProviderBase.Serialize(XmlNode).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Uninitialize Used to uninitialize the provider. This happens when the pane goes back to the watermark. (Overrides SchemaCompareModelProviderBase.Uninitialize().)
Public method Validate Validates this provider. (Overrides SchemaCompareModelProviderBase.Validate(String%).)

Top

Fields

  Name Description
Public fieldStatic member ProjectBasedModelProviderElementName The name of the provider.

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.VisualStudio.Data.Schema.Package.SchemaCompare Namespace