SqlScriptComparer Class
Compares Transact-SQL scripts and abstract syntax trees (ASTs).
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.ScriptDom.Sql.SqlScriptComparer
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public NotInheritable Class SqlScriptComparer
public sealed class SqlScriptComparer
public ref class SqlScriptComparer sealed
[<Sealed>]
type SqlScriptComparer = class end
public final class SqlScriptComparer
The SqlScriptComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlScriptComparer(SqlDatabaseSchemaProvider, ModelCollation, Boolean, Boolean, Boolean) | Initializes a new instance of the SqlScriptComparer class. | |
SqlScriptComparer(SqlDatabaseSchemaProvider, ModelCollation, Boolean, Boolean, Boolean, Boolean) | Initializes a new instance of the SqlScriptComparer class. |
Top
Methods
Name | Description | |
---|---|---|
Compare(TextReader, TextReader) | Compares two text readers. | |
Compare(String, String) | Compares two scripts. | |
Compare(TSqlFragment, TSqlFragment) | Compares two fragments. | |
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.) | |
GetDifferences(String, String) | Creates a list of differences between two scripts. | |
GetDifferences(TSqlFragment, TSqlFragment) | Creates a list of differences between two fragments. | |
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.