Поделиться через


SqlScriptComparer.GetDifferences - метод (TSqlFragment, TSqlFragment)

Создает список различий между двумя фрагментами.

Пространство имен:  Microsoft.Data.Schema.ScriptDom.Sql
Сборка:  Microsoft.Data.Schema.Sql (в Microsoft.Data.Schema.Sql.dll)

Синтаксис

'Декларация
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>

Параметры

Возвращаемое значение

Тип: System.Collections.Generic.IList<SqlScriptComparisonResult>
Список различий между двумя фрагментами.

Безопасность платформы .NET Framework

См. также

Ссылки

SqlScriptComparer Класс

GetDifferences - перегрузка

Microsoft.Data.Schema.ScriptDom.Sql - пространство имен