Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -259,7 +259,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbRoUsage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROUsageID;
|
||||
return MyRODbRoUsageUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbRoUsage.ToString function as necessary
|
||||
/// <summary>
|
||||
@@ -414,6 +414,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RODbRoUsageUnique = 0;
|
||||
private static int RODbRoUsageUnique
|
||||
{ get { return ++_RODbRoUsageUnique; } }
|
||||
private int _MyRODbRoUsageUnique = RODbRoUsageUnique;
|
||||
public int MyRODbRoUsageUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRODbRoUsageUnique; } }
|
||||
internal static RODbRoUsage New(string roid)
|
||||
{
|
||||
return new RODbRoUsage(roid);
|
||||
|
Reference in New Issue
Block a user