Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -232,7 +232,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Entry</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyEntryUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@@ -356,7 +356,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int EntryUnique
|
||||
{ get { return ++_EntryUnique; } }
|
||||
private int _MyEntryUnique = EntryUnique;
|
||||
public int MyEntryUnique
|
||||
public int MyEntryUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyEntryUnique; } }
|
||||
protected Entry()
|
||||
{/* require use of factory methods */
|
||||
|
Reference in New Issue
Block a user