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
- oldScript
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The old fragment.
- newScript
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
The new fragment.
Return Value
Type: System.Collections.Generic.IList<SqlScriptComparisonResult>
The list of differences between the two fragments.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.