Changed GetIdValue to use UniqueID
This commit is contained in:
1 parent
d2e964dde1
commit
7bc7129faf
84 files changed
+318
-138
No files matched your search
@@ -511,7 +511,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Format</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FormatID;
|
||||
return MyFormatUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@@ -668,7 +668,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int FormatUnique
|
||||
{ get { return ++_FormatUnique; } }
|
||||
private int _MyFormatUnique = FormatUnique;
|
||||
public int MyFormatUnique
|
||||
public int MyFormatUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyFormatUnique; } }
|
||||
protected Format()
|
||||
{/* require use of factory methods */
|
||||
|
||||
Reference in new issue
Block a user