DataHasChanges(DataTable, DataTable, String, String) Method

Compares whether two DataTable changes exist.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static bool HasChanges(
	DataTable dataA,
	DataTable dataB,
	string[] includeColumns = null,
	string[] excludeColumns = null
)

Parameters

dataA  DataTable
First DataTable to compare.
dataB  DataTable
Second DataTable to compare.
includeColumns  String  (Optional)
List with included fields, if omitted then all fields are considered.
excludeColumns  String  (Optional)
List with excluded fields.

Return Value

Boolean
if the data has changes; otherwise, .

See Also