Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -320,7 +320,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Annotation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyAnnotationUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@@ -472,7 +472,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int AnnotationUnique
|
||||
{ get { return ++_AnnotationUnique; } }
|
||||
private int _MyAnnotationUnique = AnnotationUnique;
|
||||
public int MyAnnotationUnique
|
||||
public int MyAnnotationUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyAnnotationUnique; } }
|
||||
protected Annotation()
|
||||
{/* require use of factory methods */
|
||||
|
Reference in New Issue
Block a user