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