Interface IDelta
IDelta allows and tracks changes to an object.
public interface IDelta
Methods
Clear()
Clears the IDelta.
void Clear()
GetChangedPropertyNames()
Returns the Properties that have been modified through this IDelta as an enumerable of Property Names
IEnumerable<string> GetChangedPropertyNames()
Returns
GetUnchangedPropertyNames()
Returns the Properties that have not been modified through this IDelta as an enumerable of Property Names
IEnumerable<string> GetUnchangedPropertyNames()
Returns
TryGetPropertyType(string, out Type)
Attempts to get the Type of the Property called name
from the underlying Entity.
bool TryGetPropertyType(string name, out Type type)
Parameters
Returns
- bool
Returns true if the Property was found and false if not.
TryGetPropertyValue(string, out object)
Attempts to get the value of the Property called name
from the underlying Entity.
bool TryGetPropertyValue(string name, out object value)
Parameters
Returns
- bool
Returns true if the Property was found and false if not.
TrySetPropertyValue(string, object)
Attempts to set the Property called name
to the value
specified.
bool TrySetPropertyValue(string name, object value)
Parameters
Returns
- bool
Returns true if successful and false if not.