Compares two databases using default session settings.

Namespace:  RedGate.SQLDataCompare.Engine
Assembly:  RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)

Syntax

Visual Basic (Declaration)
Public Sub CompareDatabases ( _
	db1 As Database, _
	db2 As Database, _
	mappings As SchemaMappings _
)
C#
public void CompareDatabases(
	Database db1,
	Database db2,
	SchemaMappings mappings
)
Visual C++
public:
void CompareDatabases(
	Database^ db1, 
	Database^ db2, 
	SchemaMappings^ mappings
)

Parameters

db1
Type: RedGate.SQLCompare.Engine..::.Database
The first database to compare.
db2
Type: RedGate.SQLCompare.Engine..::.Database
The second database to compare, or null.
mappings
Type: RedGate.SQLDataCompare.Engine..::.SchemaMappings
Mappings from the first database to the second database.

See Also