DataNewRowID Method

Gets a new ID (negative ID) of non-existing data row.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static long NewRowID(
	DataTable data,
	string fieldID = "Id"
)

Parameters

data  DataTable
Datatable that will contain the row.
fieldID  String  (Optional)
Identifier field name.

Return Value

Int64
Int64 with the the new datarow with a non-existing negative identifier.

See Also