DataHasChanges(DataRow, DataRow, String, String) Method

Compares if there are changes between two DataRow.

Definition

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

Parameters

rowA  DataRow
First DataRow to compare.
rowB  DataRow
Second DataRow 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