used new property ShortROID
created new property ShortROID
This commit is contained in:
@@ -165,4 +165,22 @@ namespace VEPROMS.CSLA.Library
|
||||
this.RaiseListChangedEvents = true;
|
||||
}
|
||||
}
|
||||
public partial class RoUsageInfo
|
||||
{
|
||||
private string _ShortROID;
|
||||
public string ShortROID
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_ShortROID == null)
|
||||
{
|
||||
if (ROID.Length == 16 && ROID.EndsWith("0000"))
|
||||
_ShortROID = ROID.ToUpper().Substring(0, 12);
|
||||
else
|
||||
_ShortROID = ROID.ToUpper();
|
||||
}
|
||||
return _ShortROID;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user