This commit is contained in:
2010-10-25 19:24:10 +00:00
parent 89679e57f1
commit e8c3a7347a
2 changed files with 65 additions and 7 deletions

View File

@@ -169,6 +169,19 @@ namespace VEPROMS.CSLA.Library
return _MyItemRangeID;
}
}
private int _IsRange;
/// <summary>
/// 0 - Not a Range Transition, 1 - Range Transition, 2 - Range Transition - Extends to last Sibling
/// </summary>
public int IsRange
{
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
get
{
CanReadProperty("IsRange", true);
return _IsRange;
}
}
private int _TranType;
public int TranType
{
@@ -312,6 +325,7 @@ namespace VEPROMS.CSLA.Library
}
_MyItemRangeID = null; // Reset list so that the next line gets a new list
if (MyItemRangeID != null) MyItemRangeID.RefreshItemTransitions_RangeID(); // Update List for new value
_IsRange = tmp.IsRange;
_TranType = tmp.TranType;
_Config = tmp.Config;
_DTS = tmp.DTS;
@@ -376,6 +390,7 @@ namespace VEPROMS.CSLA.Library
}
_MyItemRangeID = null; // Reset list so that the next line gets a new list
if (MyItemRangeID != null) MyItemRangeID.RefreshItemTransitions_RangeID(); // Update List for new value
_IsRange = tmp.IsRange;
_TranType = tmp.TranType;
_Config = tmp.Config;
_DTS = tmp.DTS;
@@ -440,6 +455,7 @@ namespace VEPROMS.CSLA.Library
}
_MyItemToID = null; // Reset list so that the next line gets a new list
if (MyItemToID != null) MyItemToID.RefreshItemTransitions_ToID(); // Update List for new value
_IsRange = tmp.IsRange;
_TranType = tmp.TranType;
_Config = tmp.Config;
_DTS = tmp.DTS;
@@ -504,6 +520,7 @@ namespace VEPROMS.CSLA.Library
}
_MyItemRangeID = null; // Reset list so that the next line gets a new list
if (MyItemRangeID != null) MyItemRangeID.RefreshItemTransitions_RangeID(); // Update List for new value
_IsRange = tmp.IsRange;
_TranType = tmp.TranType;
_Config = tmp.Config;
_DTS = tmp.DTS;
@@ -603,6 +620,7 @@ namespace VEPROMS.CSLA.Library
_FromID = dr.GetInt32("FromID");
_ToID = dr.GetInt32("ToID");
_RangeID = dr.GetInt32("RangeID");
_IsRange = dr.GetInt32("IsRange");
_TranType = dr.GetInt32("TranType");
_Config = dr.GetString("Config");
_DTS = dr.GetDateTime("DTS");