Changed GetIdValue to use UniqueID

This commit is contained in:
Rich
2009-10-21 20:49:28 +00:00
parent d2e964dde1
commit 7bc7129faf
84 changed files with 318 additions and 138 deletions

View File

@@ -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 */