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

@@ -453,7 +453,7 @@ namespace VEPROMS.CSLA.Library
/// <returns>A Unique ID for the current ContentInfo</returns>
protected override object GetIdValue()
{
return _ContentID;
return MyContentInfoUnique; // Absolutely Unique ID
}
#endregion
#region Factory Methods
@@ -461,7 +461,7 @@ namespace VEPROMS.CSLA.Library
private static int ContentInfoUnique
{ get { return ++_ContentInfoUnique; } }
private int _MyContentInfoUnique = ContentInfoUnique;
public int MyContentInfoUnique
public int MyContentInfoUnique // Absolutely Unique ID - Info
{ get { return _MyContentInfoUnique; } }
protected ContentInfo()
{/* require use of factory methods */