0

Closed

Add a new property to every DO Object of type Guid

description

Every Object should have a Unique Object Identifier. This should be implemented as GUID.
 
The property should always give back a value. If the value was not set. the property will give back a new Guid.
 
Implementation template:
     Private m_Var As Guid
     Public ReadOnly Property Var() As Guid
        Get
            Dim myVar As Guid = m_Var
            If myVar = Guid.Empty Then
                myVar = New Guid
                m_Var = myVar
            End If
            Return myVar
        End Get
        Set (Value As Guid)
            m_Var = Value
        End Set
    End Property
Closed Feb 2, 2009 at 9:52 PM by dide

comments

wrote Feb 2, 2009 at 9:52 PM

Resolved with changeset 8144.

wrote Jan 21, 2013 at 7:39 PM

wrote May 14, 2013 at 6:35 AM