Share via


ModelComparerConfiguration.OnlyCompareElementsInSource Property

Gets or sets a value that indicates whether to compare only elements that occur in the source.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property OnlyCompareElementsInSource As Boolean
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)

Property Value

Type: System.Boolean

Remarks

If elements are not in the source but are in the target, they will be ignored during comparison and will not be added to the drop list.

.NET Framework Security

See Also

Reference

ModelComparerConfiguration Class

Microsoft.Data.Schema.SchemaModel Namespace