Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -293,7 +293,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemTransition_RangeID</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyItemTransition_RangeIDUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemTransition_RangeID.ToString function as necessary
|
||||
/// <summary>
|
||||
@@ -445,6 +445,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemTransition_RangeIDUnique = 0;
|
||||
private static int ItemTransition_RangeIDUnique
|
||||
{ get { return ++_ItemTransition_RangeIDUnique; } }
|
||||
private int _MyItemTransition_RangeIDUnique = ItemTransition_RangeIDUnique;
|
||||
public int MyItemTransition_RangeIDUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemTransition_RangeIDUnique; } }
|
||||
internal static ItemTransition_RangeID New(Content myContent, Item myItemToID)
|
||||
{
|
||||
return new ItemTransition_RangeID(myContent, myItemToID);
|
||||
|
Reference in New Issue
Block a user