C# Class KellermanSoftware.CompareNetObjects.TypeComparers.DataTableComparer

Compare all rows in a data table
Inheritance: BaseTypeComparer
Show file Open project: GregFinzer/Compare-Net-Objects

Public Methods

Method Description
CompareType ( CompareParms parms ) : void

Compare two datatables

DataTableComparer ( RootComparer rootComparer ) : System

Constructor that takes a root comparer

IsTypeMatch ( Type type1, Type type2 ) : bool

Returns true if both objects are of type DataTable

Private Methods

Method Description
ColumnCountsDifferent ( CompareParms parms ) : bool
CompareEachRow ( CompareParms parms ) : void

Method Details

CompareType() public method

Compare two datatables
public CompareType ( CompareParms parms ) : void
parms CompareParms
return void

DataTableComparer() public method

Constructor that takes a root comparer
public DataTableComparer ( RootComparer rootComparer ) : System
rootComparer RootComparer
return System

IsTypeMatch() public method

Returns true if both objects are of type DataTable
public IsTypeMatch ( Type type1, Type type2 ) : bool
type1 System.Type The type of the first object
type2 System.Type The type of the second object
return bool