Ignoring identical records programmatically (version 7)

AndrewNAndrewN Posts: 3
I wish to programatically compare two views ignoring identical records.

Is the following a valid use of the CompareDatabase method:

var session = new ComparisonSession();
:
session.CompareDatabases(databasea,database2, mappings, (SessionSettings.IncludeRecordsInOne | SessionSettings.IncludeRecordsInTwo | SessionSettings.IncludeDifferentRecords));

Or is there a better solution?

Thanks in advance.

Comments

Sign In or Register to comment.