IKeyGeneratorGetNextTempId Method Breeze.sharp
Generates a new temporary ID for a specified EntityProperty.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

Object GetNextTempId(
	DataProperty property
)

Parameters

property
Type: Breeze.SharpDataProperty
Property for which a new ID should be generated

Return Value

Type: Object
A new temporary ID
Remarks

The definition of a "temporary" ID is user-defined. In the sample code for a "LongIdGenerator" negative integers are used as temporary IDs.

This method should also store the temporary IDs generated in a UniqueIdCollection.

See Also

Reference