Share via


SqlScriptComparer.GetDifferences Method (TSqlFragment, TSqlFragment)

Creates a list of differences between two fragments.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Function GetDifferences ( _
    oldScript As TSqlFragment, _
    newScript As TSqlFragment _
) As IList(Of SqlScriptComparisonResult)
public IList<SqlScriptComparisonResult> GetDifferences(
    TSqlFragment oldScript,
    TSqlFragment newScript
)
public:
IList<SqlScriptComparisonResult^>^ GetDifferences(
    TSqlFragment^ oldScript, 
    TSqlFragment^ newScript
)
member GetDifferences : 
        oldScript:TSqlFragment * 
        newScript:TSqlFragment -> IList<SqlScriptComparisonResult> 
public function GetDifferences(
    oldScript : TSqlFragment, 
    newScript : TSqlFragment
) : IList<SqlScriptComparisonResult>

Parameters

Return Value

Type: System.Collections.Generic.IList<SqlScriptComparisonResult>
The list of differences between the two fragments.

.NET Framework Security

See Also

Reference

SqlScriptComparer Class

GetDifferences Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace