EntityValue.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using System;
  2. namespace ETD.Frame
  3. {
  4. /// <summary>
  5. /// 值类
  6. /// </summary>
  7. [Serializable]
  8. public class EntityValue
  9. {
  10. private string _FieldName = string.Empty;
  11. /// <summary>
  12. /// 字段名
  13. /// </summary>
  14. public string FieldName
  15. {
  16. get
  17. {
  18. return this._FieldName;
  19. }
  20. set
  21. {
  22. this._FieldName = value;
  23. }
  24. }
  25. private object _CurrentValue;
  26. /// <summary>
  27. /// 当前值
  28. /// </summary>
  29. public object CurrentValue
  30. {
  31. get
  32. {
  33. return this._CurrentValue;
  34. }
  35. set
  36. {
  37. this._CurrentValue = value;
  38. }
  39. }
  40. private bool _IsChanage = false;
  41. /// <summary>
  42. /// 值是否改变
  43. /// </summary>
  44. public bool IsChanage
  45. {
  46. get
  47. {
  48. return this._IsChanage;
  49. }
  50. set
  51. {
  52. this._IsChanage = value;
  53. }
  54. }
  55. private object _OriginalValue;
  56. /// <summary>
  57. /// 原始值
  58. /// </summary>
  59. public object OriginalValue
  60. {
  61. get
  62. {
  63. return this._OriginalValue;
  64. }
  65. set
  66. {
  67. this._OriginalValue = value;
  68. }
  69. }
  70. }
  71. }