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

@@ -233,7 +233,7 @@ namespace VEPROMS.CSLA.Library
/// <returns>A Unique ID for the current RoleInfo</returns>
protected override object GetIdValue()
{
return _RID;
return MyRoleInfoUnique; // Absolutely Unique ID
}
#endregion
#region Factory Methods
@@ -241,7 +241,7 @@ namespace VEPROMS.CSLA.Library
private static int RoleInfoUnique
{ get { return ++_RoleInfoUnique; } }
private int _MyRoleInfoUnique = RoleInfoUnique;
public int MyRoleInfoUnique
public int MyRoleInfoUnique // Absolutely Unique ID - Info
{ get { return _MyRoleInfoUnique; } }
protected RoleInfo()
{/* require use of factory methods */