Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -150,7 +150,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbROFst</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROFstID;
|
||||
return MyRODbROFstUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbROFst.ToString function as necessary
|
||||
/// <summary>
|
||||
@@ -276,6 +276,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RODbROFstUnique = 0;
|
||||
private static int RODbROFstUnique
|
||||
{ get { return ++_RODbROFstUnique; } }
|
||||
private int _MyRODbROFstUnique = RODbROFstUnique;
|
||||
public int MyRODbROFstUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRODbROFstUnique; } }
|
||||
internal static RODbROFst New(byte[] rOLookup)
|
||||
{
|
||||
return new RODbROFst(rOLookup);
|
||||
|
Reference in New Issue
Block a user