Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -211,7 +211,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AnnotationInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyAnnotationInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@@ -219,7 +219,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int AnnotationInfoUnique
|
||||
{ get { return ++_AnnotationInfoUnique; } }
|
||||
private int _MyAnnotationInfoUnique = AnnotationInfoUnique;
|
||||
public int MyAnnotationInfoUnique
|
||||
public int MyAnnotationInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyAnnotationInfoUnique; } }
|
||||
protected AnnotationInfo()
|
||||
{/* require use of factory methods */
|
||||
|
Reference in New Issue
Block a user