Visual Basic (Declaration) | |
---|---|
Function GetNextTempId( _ ByVal property As DataEntityProperty _ ) As Object |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IIdGenerator Dim property As DataEntityProperty Dim value As Object value = instance.GetNextTempId(property) |
C# | |
---|---|
object GetNextTempId( DataEntityProperty property ) |
C++/CLI | |
---|---|
Object^ GetNextTempId( DataEntityProperty^ property ) |
Parameters
- property
- Property for which a new ID should be generated
Return Value
A new temporary IDThe 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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family