Changed GetIdValue to use UniqueID
This commit is contained in:
@@ -183,7 +183,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current PartInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return (_ContentID.ToString() + "." + _FromType.ToString()).GetHashCode();
|
||||
return MyPartInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int PartInfoUnique
|
||||
{ get { return ++_PartInfoUnique; } }
|
||||
private int _MyPartInfoUnique = PartInfoUnique;
|
||||
public int MyPartInfoUnique
|
||||
public int MyPartInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyPartInfoUnique; } }
|
||||
protected PartInfo()
|
||||
{/* require use of factory methods */
|
||||
|
Reference in New Issue
Block a user