Proprietà ModelComparerConfiguration.OnlyCompareElementsInSource

Ottiene o imposta un valore che indica se confrontare solo gli elementi presenti nel database di origine.

Spazio dei nomi:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Sintassi

'Dichiarazione
Public Property OnlyCompareElementsInSource As Boolean
    Get
    Set
public bool OnlyCompareElementsInSource { get; set; }
public:
property bool OnlyCompareElementsInSource {
    bool get ();
    void set (bool value);
}
member OnlyCompareElementsInSource : bool with get, set
function get OnlyCompareElementsInSource () : boolean
function set OnlyCompareElementsInSource (value : boolean)

Valore proprietà

Tipo: System.Boolean

Note

Se gli elementi non sono presenti nell'origine ma solo nella destinazione, saranno ignorati durante il confronto e non saranno aggiunti all'elenco di trascinamento.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ModelComparerConfiguration Classe

Spazio dei nomi Microsoft.Data.Schema.SchemaModel