Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -323,7 +323,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FolderAssignment</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyFolderAssignmentUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FolderAssignment.ToString function as necessary
|
||||
/// <summary>
|
||||
@@ -513,6 +513,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FolderAssignmentUnique = 0;
|
||||
private static int FolderAssignmentUnique
|
||||
{ get { return ++_FolderAssignmentUnique; } }
|
||||
private int _MyFolderAssignmentUnique = FolderAssignmentUnique;
|
||||
public int MyFolderAssignmentUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFolderAssignmentUnique; } }
|
||||
internal static FolderAssignment New(Group myGroup, Role myRole)
|
||||
{
|
||||
return new FolderAssignment(myGroup, myRole);
|
||||
|
Reference in New Issue
Block a user