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