BusinessObject.GetNewIntegerKey

This method creates a new key for integer-key rows.

public virtual int GetNewIntegerKey( string entityName,
	DataSet dataSetWithNewRecord );

Return Value

Integer key

Parameters

entityName
Name of the entity the key is generated for

dataSetWithNewRecord
DataSet containing the new record the PK is for


See also:

Class BusinessObject


  Last Updated: 5/23/2007 | © , 2007