DataCopyRow(DataRow, DataRow, Boolean, Boolean, String) Method

Transfer the data from the source row to the destination row allowing columns to be excluded.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static void CopyRow(
	DataRow sourceRow,
	DataRow destinationRow,
	bool excludeAutoIncrement = false,
	bool excludeReadOnly = false,
	string[] excludeFields = null
)

Parameters

sourceRow  DataRow
Source data row.
destinationRow  DataRow
destination data row.
excludeAutoIncrement  Boolean  (Optional)
Exclude autoincrement target columns.
excludeReadOnly  Boolean  (Optional)
Exclude read-only target columns.
excludeFields  String  (Optional)
Exclude indicated field names.

See Also