Class ChangeVO
- Namespace
- PHCDataLayer
- Assembly
- PHCDataLayer.dll
[Serializable]
public class ChangeVO : CloneVO, IBaseSerialization, ICloneVO, ICloneable, IChange
- Inheritance
-
ChangeVO
Constructors
ChangeVO()
Methods
BaseEquals(object)
public bool BaseEquals(object obj)
Parameters
| Nome |
Tipo |
Descrição |
obj |
object |
|
Returns
- bool
EndSerialization(IGenericVO)
public override void EndSerialization(IGenericVO parentItem = null)
Parameters
Equals(object)
public override bool Equals(object obj)
Parameters
| Nome |
Tipo |
Descrição |
obj |
object |
|
Returns
- bool
GetDbProperties()
public List<PropertyInfo> GetDbProperties()
Returns
- List<PropertyInfo>
OnChanged<T>(T, ref T, string)
public virtual bool OnChanged<T>(T newValue, ref T oldValue, string propertyName = "")
Parameters
| Nome |
Tipo |
Descrição |
newValue |
T |
|
oldValue |
T |
|
propertyName |
string |
|
Returns
- bool
Type Parameters
T
OnPropertyChanged<T>(string, object, ref T)
public virtual bool OnPropertyChanged<T>(string propertyName, object newValue, ref T oldValue)
Parameters
| Nome |
Tipo |
Descrição |
propertyName |
string |
|
newValue |
object |
|
oldValue |
T |
|
Returns
- bool
Type Parameters
T
OnPropertyChanged<T>(string, object, ref T, bool)
public virtual bool OnPropertyChanged<T>(string propertyName, object newValue, ref T oldValue, bool alltrim)
Parameters
Returns
- bool
Type Parameters
T
SetPropertyChanged<T>(string, object, ref T, bool)
protected virtual void SetPropertyChanged<T>(string propertyName, object newValue, ref T oldValue, bool addToChangeFields = true)
Parameters
| Nome |
Tipo |
Descrição |
propertyName |
string |
|
newValue |
object |
|
oldValue |
T |
|
addToChangeFields |
bool |
|
Type Parameters
T
Explicit Interface Implementations
ChangedFields
VOChangedFields ChangedFields { get; set; }
Returns
- VOChangedFields
IsAnyFieldChanged(IEnumerable<string>)
bool IsAnyFieldChanged(IEnumerable<string> fieldsName)
Parameters
Returns
- bool
IsAnyFieldChanged(params string[])
bool IsAnyFieldChanged(params string[] fieldsName)
Parameters
| Nome |
Tipo |
Descrição |
fieldsName |
string[] |
|
Returns
- bool
IsChanged
virtual bool IsChanged { get; }
Returns
- bool
IsFieldChanged(string)
bool IsFieldChanged(string fieldName)
Parameters
| Nome |
Tipo |
Descrição |
fieldName |
string |
|
Returns
- bool
IsOnlyAnyThisFieldsChanged(params string[])
bool IsOnlyAnyThisFieldsChanged(params string[] fieldsName)
Parameters
| Nome |
Tipo |
Descrição |
fieldsName |
string[] |
|
Returns
- bool
UpdateChangedFields(object)
void UpdateChangedFields(object oldObj)
Parameters
| Nome |
Tipo |
Descrição |
oldObj |
object |
|