wwBusiness.CreateNewId

Creates a new ID field. This methods is used by the New() method internally, but can also be used explicitly to retrieve new keys.

The value type returned depends on the PkType used. Numerics use a Stored Procedure to generate a new id. Strings use a hash by default. Guids create a new Guid.

public virtual object CreateNewId();

Return Value

object

See also:

Class wwBusiness

© West Wind Technologies, 1996-2018 • Updated: 05/04/05
Comment or report problem with topic